I have a controller with a method for when the user wants to soft-delete his record (Character model...
I notice that laravel use 0000-00-00 00:00:00 for deleted_at time ,So i change data deleted_at like...
So I'm trying to do a very simple eloquent query, however both a select and an insert query fail. Th...
Hello, there. I have a table of users, and when you click on a Details button for a particular user...
Hi all, My question here is pretty simple but I didn't find the answer on the Web. I would like to s...
Hi I have two models - node and content. Content belongsTo 'node' and Node hasMany 'content' - all p...
Hi everyone, I'm new to Laravel and trying to catch up with a project as much as possible. I created...
Hi i have controller and i am taking data like this $events= Eventm::with('teacher')->get(); th...
When inserting batch data how would you get a array of primary key ids from the inserted data $data...
I am trying to create a Many to Many relationship with Eloquent but the SQL generated is checking my...
I got a function to find a friend request by friend pivot id. Code // Repository public function fin...
Hi, im having this issue, more info http://help.laravel.io/628636319849786ae066f7dfe72389b0e1d3e140,...
I have two eloquent model: Foo and Bar. class Foo extends \Eloquent { public function bar()...
First of all, English is not my primary language and if the group in term is wrong for what I'm tryi...
Hi im trying to query my tasks table. A little background information on the tables and how they are...
Hi. I am trying to do something like this : $name = Input::get('name'); $keywords = explode(' ', $na...
Hi... maybe it's a newbie question... these are my first steps with Laravel.. suppose I have in Post...
I'm currently building a REST API with laravel. I'm trying to implement filtering of results on a ro...
I have a model called 'Charges' which stores charges made by someone. I want to sum all the charges...
Hello, is there a native way to determine if a model supports soft deleting? Something like: User::u...
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