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 11 years ago

Implementing repository pattern

I wrote mine from scratch just for the learning curve, repositories and interfaces inside my applica...

0 Likes
replied 11 years ago

Using static classes for validation, what do you think?

As an alternative approach I bind an observer(s) to my models and hook into the events. Not saying i...

0 Likes
replied 11 years ago

How can i do this???? $this->hasMany( ) ->select()->where()

I have batted my head against the same brick wall with a very similar legacy solution and have sympa...

0 Likes
replied 11 years ago

Failing to define a Restful controller

It's looking for your index action by default. The action it looks for depends upon the verb you pas...

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.