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...
I just can't get this to work: Route::model('mymodel', 'Mymodel'); Route::get('/test/{mymodel}/{view...
I want to check if people are friends. I want to check if in a row both the authenticated user exist...
Can someone give me an example of how to save elements with this relationship? Currently I have Prod...
Hi, I want to have sql query like this: SELECT * FROM "public".user inner join ( SELE...
Hey folks, There are times when heavy model customization is required, and I want to access data wit...
I have a problem with paginate() with hasmany(). I have 2 tables. Categories and posts. I showing po...
I have a table named attendance and another named students_attendance. I add an attendance record to...
i've been able to construct a join and it works: $projects = Main::join('builds', 'mains.build_id',...
Hi, how I hidden column on many to many relationships? Square.php public function sitesquares() { //...
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