Support the ongoing development of Laravel.io →
jacksoncharles

jacksoncharles

Joined 20 Aug 2014

Statistics

Threads 3
Replies 79
Solutions 7
Articles 0
posted 10 years ago

Convert SQL to eloquent

Eloquent is driving me mad :-( I need to convert the following SQL to Eloquent. Ideally I want to us...

0 Likes
0 Replies
posted 10 years ago

Nested data in form select

I have a model relationship, user belongsToMany roles. When updating a user I want to set the value...

0 Likes
0 Replies
posted 10 years ago

Using illuminate/HTML inside a package

I'm trying to develop a full stack L5 package and need to include/use illuminate/html and create a f...

0 Likes
2 Replies
Solved
replied 10 years ago

Fillable and Guarded properties

I think you are supposed to choose one or the other, two ways to achieve the same result depending u...

0 Likes
Solved
replied 10 years ago

Laravel 5 Services

You can structure you application however you want, service layer, repositories and decorators etc.....

0 Likes
replied 10 years ago

Timing issues when use has relationship

Have you installed the debug bar? Let you see what queries you are running and what the bottleneck i...

0 Likes
replied 10 years ago

Multiple relationships on same model

You just need to specify the foreign key, by default the foreign key would be location_id but you wa...

0 Likes
Solved
replied 10 years ago

Laravel 5, re-using event handlers

Can't you simply rename the event to "login" with a handler of "loggedin" for ex...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.