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

Variable assignment

You could group your tasks by workpackage and then pass that to the view: @foreach($workPackages as...

0 Likes
Solved
replied 11 years ago

OK to set attributes to collection?

It seems like doing it that way is kind of fuzzy and procedural. Instead, you could define a custom...

0 Likes
replied 11 years ago

Passing hundreds of variables from controller to view

I have a sneaking suspicion that if you're trying to send hundreds of files to a view, you should or...

0 Likes
replied 11 years ago

Removing PUBLIC from URL

Change your document root in your apache config from "your/path/to/laravel" to "your/...

0 Likes
replied 11 years ago

How big of a controller is to big?

It seems like all the logic of creating page titles, rendering navigation, etc should belong in the...

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.