Support the ongoing development of Laravel.io →
thepsion5

thepsion5

Joined 3 Feb 2014

Statistics

Threads 1
Replies 119
Solutions 13
Articles 0

[EXERCISE] Refactoring Exercise #1 is Complete! Discuss.

After some interest in the Laravel subreddit, I've decided to run a refactoring exercise a few times...

0 Likes
5 Replies
replied 11 years ago

Pros and Cons of different kinds of validation?

In my current project at work, we can accept input for creating a petition from multiple sources - f...

0 Likes
replied 11 years ago

Basic routing question for get & posts to a controller

You could use Route::controller('profile', 'UsersProfileController'), though you'll have to change y...

0 Likes
replied 11 years ago

"Prefix" all queries with a where clause

You could also add a function in your repository that creates the initial query and applies the scop...

0 Likes
replied 11 years ago

Using two Models using Auth Class

No, since the auth driver still only uses the model you specify in auth config file. To use two diff...

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.