Support the ongoing development of Laravel.io →

How can I test that a route has a filter set?

If had the following call in my test: $response = $this->call('GET', 'user/profile'); how can I...

0 Likes
0 Replies

Select DB connections based on condition

Hi Team, I have an application that uses multiple database servers and each db server has two databa...

0 Likes
0 Replies

Best practice to prevent other users viewing/editing each other data

Hi all, I am new to Laravel and was wondering what would; be the best practice to prevent users edit...

0 Likes
0 Replies
posted 10 years ago

Consuming JSON via REST

Looking at interest at Laravel as a PHP framework. I have a question relating to its ability to use...

0 Likes
0 Replies
posted 10 years ago

Cannot access laravel on mac without index.php

Normally I develop on my windows and I do it because my mac ALWAYS has some sort of issue. Today the...

0 Likes
1 Replies
posted 10 years ago

Error after composer update: Invalid repository data in vendor/composer/installed.json,

I wanted to update packages on a 4.0.10 installed Laravel instance, but got the following error: Inv...

0 Likes
0 Replies
posted 10 years ago

how do i prevent an attributes value being saved if its got an active Accessor?

I have a Product model in which I use a getPriceAttribute($value) to display a products discounted p...

0 Likes
4 Replies
Solved

Loading certain javascripts

Hello, there. I was wondering how everyone handled loading javascript files in their various views?...

0 Likes
4 Replies
Solved
posted 10 years ago

Relations in namespaced models

I started to move all my models to namespaced directories /app/lib/Acme/models, but noticed that whe...

0 Likes
1 Replies
posted 10 years ago

How to get content only inner section on blade file

Hello I want to get content only inner section and set to variable and response vie ajax // layout.b...

0 Likes
0 Replies

Testing a controller fails because of view

Hi I'm trying to test a simple blog post controller that gets data by using the repository pattern (...

0 Likes
0 Replies

Handling dynamically created input fields (javascript, DOM)

My app allows users to dynamically add input fields in a form via some simple javascript. I construc...

0 Likes
1 Replies

Working without Clean URLs

I'm unable to use Clean URLs for my application (IIS, I don't manage the server, and none of the fre...

0 Likes
1 Replies

Temporary file not found on model create?

Hi everyone, so what i want to happen is when the form is submitted, an image is uploaded and the mo...

0 Likes
0 Replies

Search through relationships

Hi! I have a little problem that I'm not quite sure how to solve it. To simplify, lets say that I ha...

0 Likes
4 Replies
Solved

I only see "You have arrived." page

Hi; I installed Laravel using the instrunctions below but all I see is You Have Arrived page! What c...

0 Likes
6 Replies
posted 10 years ago

Uniqueness of coulumn in context of relation

Hey, i use Ardent and I can't find a way to validate model against uniqueness of column in context o...

0 Likes
0 Replies

Dynamic classes from eloquent

Hi everybody, I'm just getting started with Laravel and SOLID development, and I'm having trouble fi...

0 Likes
1 Replies

CORS ORIGIN from mobile app

Pardon my newbie-ness, but I'm new to Laravel and developing RESTFUL APIs in general. I found docum...

0 Likes
5 Replies
posted 10 years ago

IoC and Service Providers

Hi, I have an object that when instantiated needs some configuration. Params come from my config fil...

0 Likes
4 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.