Hello, I'm newbie in Laravel, when try to migrate Laravel 4 with table 'user' in database using arti...
The author_id keeps coming up empty along with the timestramp data. How can I fix this? mysql posts...
I am trying to make it so if a user clicks on a protected link, they get forwarded to a login / regi...
Fairly new to MVC and Laravel. I am building a form that allows users (players) to be assigned to /...
I have created about 25 database tables in the migrations folder by first creating the files with ph...
I have the following tables users id email teams id teamlist id team_id email The reason there...
I have a User and a Country models, and the user model has one-to-many relation class User extends E...
I'm just starting out with TDD and I'm trying to test validation in a model. Currently, all my test...
Hello, I've been having immense problems trying to get the Polymorphic Many-to-Many relationship to...
Hopefully someone can help me, I've been trying to find out why for the last few hours. I'm trying t...
Example resulting in wrong result (is used for a scope-Method): return $query->whereRaw(<<&...
I have a Post model, that read from my table "posts". In my PostController, I inject an Po...
Let's say I have a controller named "PositionsController". This controller depends on &quo...
In my code I retrieve a category like this: $category=Category::find($categoryID); And then echo its...
In one of my controller-functions I retrieve a model: $user=User::where('token',$token)->first();...
Hello folks. I am in need of a little direction on setting up a query on a many-to-many relationsh...
In one of my project, I'd like to output a json value from my mysql table immediately to array when...
Sorry for the noob question. I am using what I guess what is referred to a pivot table in Laravel 4...
Hi guys, I'm fairly new to Laravel, I'm designing an application which will have an API which return...
I have been trying to get this query working using Query Builder. Still haven't been able to get a w...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community