Hi Models : There is Party (should be renamed 'game') User can register to Party then user has a reg...
Hi, I want to create a sort of basic twitter clone as a learning project and wondered how you would...
This isn't working, and maybe it's not possible, or maybe I'm close? $allcars = $user->cars()...
I have this in my current app that I am moving to Laravel. $sql = "SELECT *, MATCH(title,captio...
Anybody know how create this SQL with Query builder: SELECT * FROM (SELECT * FROM 005_056_cola_envio...
After I ran composer update which required laravel 4.1.* all my Eloquent queries failed. The toArray...
In my controller I'm trying to delete a record from a table and the only message I get back to the c...
Howdy. I have nested resource controllers, like so: http://example.org/v1/jobs/1/departments My issu...
Anyone knows where I could find some Laravel specific Sublime Text 3 snippets? For example creating...
Hello community, I try to get data via one model from two different tables, so I want to change the...
How can I try to using cache for all of Eloquent query. Example: $users = User::remember(10)->get...
Hello everyone! I have a little problem to register a user. Here is the function that processes the...
class Batch extends Eloquent { public function coupons() { return $this->hasMany('Cou...
Hello All, So I have some weirdness happening. I'm trying to do a search on a track database that I...
I need to execute a query with group by. But the group by is not for a field. I need to group by wit...
I have 4 tables TableA hasMany TableC TableB hasMany TableC TableC hasMany TableD I want to connect...
Hi ! I read that L3 didn't support composite primary key, is it the same for L4.1 ? In my case it's...
In relationship from the questions I have ask previously, Question 1: Inserting selected fields from...
I would like to have the following models: Employee, Agent, Client. Since half of all the fields and...
good morning, someone who can help me, I need to create a route between father son model to model, l...
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