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

Laravel insists on loading incorrect resource route

Ahem. public function edit($id) { $practice_group = $this->practice_group->find($id); ......

0 Likes
replied 11 years ago

Query Scope with Repositories

It's not difficult. I just do something like this: https://gist.github.com/thepsion5/eb0af8b3040eaa0...

0 Likes
replied 11 years ago

Best practice for getting data from single repositories or multiple repositories

You could also create a service class to compile that information if you envision it being used acro...

0 Likes
replied 11 years ago

Session class doesn't work into my Facade

That's just namespacing basics. Since your facade is in the MyFacades\Services namespace, just tryin...

0 Likes
replied 11 years ago

Some controllers throwing errors on production

The problem is that your htaccess file is redirecting anything that starts with "public",...

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.