I'm trying to figure out what would be the best way to create options for users to add friends, I ha...
How can I model dynamic tables names. For example. A product has orders, all orders for the same pr...
I just came across an example that put the validation inside of a model like so: class User extends...
I have a database seeder begins with: DB::table('lessons')->truncate(); But when I run seeder, [I...
Hi everyone, i have pretty weird problem. I am developing a project with Laravel with my laptop (XAM...
So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how...
I have a post object that has comments: $post->comments now when I do a select on the comments Im...
Hi... I started using laravel 2-3 months ago and for the first time I have a problem I can't solve :...
I am looking to create a dynamic form survey using a database with questions, answers, and associati...
Using a MSSQL DB, I have a relationship set up between Vm hasOne to Vmconfig Vm <?php class Vm...
these are my relations.. User model public function posts() { return $this->hasMany('Post'...
Hello, I'm new to the world of Laravel my first app is running ok locally through mamp when i'm tryi...
Hello. When updating data in my MySQL-Database, the updated_at column does not update its time. I am...
So i have problem about many to many relationship implementation in laravel I have two model, User a...
In my controller I have the following with $registration_data coming from the database and the xml.i...
Hello, I'm stuck with this problem. I have these databases: -users with id, first_name et cetera......
I've four tables.User,Post,Reply and Confirm tables. And the relation is User has many posts posts...
I've users,posts,comments table. Here are my models user model public function posts() { return $...
Hi there. I'm trying to do a PostGIS search using Eloquent, which works fine for simply selecting al...
However if I do return $response; all the data is perfectly displayed. It seems like json_decode onl...
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