I've seen this question asked slightly differently several times in other threads. But the problem I...
Earlier today I asked on the chat room about php/laravel's equivalent of .try() in ruby - http://api...
Hi! I am creating a second project for a company. The first one was written by me in Yii framework....
My question is summed up nicely in this bin- This is my first attempt at a 'search builder' function...
I'm having this problem with multiple methods in multiple controllers. Here is my method: $original...
I have no issues writing to my pivot table, but returning associations returns null Schema: $table-...
Hey guys, How can i get the ID of my saved model? I dont use save(). I use create(). $page = new...
Hi everyone! I have been searching for a solution to import XML to a MySQL database without knowing...
Hi! I'm trying to execute a complex query with Eloquent. So, I have a model "User" which...
Alright so I have a ticket with many ticket replies public function show($id){ $ticket = Ticket::fi...
I have the following query that's supposed to eager load data from the 'features' and 'images' table...
I meet a problem when making eloquent. Now I have two tables in my database, say "Users" a...
Hello ! I have a table that contains Pages with columns (ID,Title,Parent_id) page can be root(Parent...
Hi all, For a project running Larvavel 3, I need to modify an existing query using an if statement,...
I have two models Student and StudentRevision with Student model having hasMany relation with Studen...
Is there a way to count email that has been send to the address of the website
Can someone confirm that this is intended behaviour? In a model Text I have this relationship: publi...
0 down vote favorite I have three models User.php, Profile.php, CorporateProfile.php and trying to c...
Whenever i try to use a query scope it my model it returns the following error: Object of class Illu...
Hey everyone. Currently I am doing quite a crazy query which needs to do multiple joins but also nee...
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