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

Relational database problem

The "all" function returns a collection, not a query. You need to use something like Bears...

0 Likes
replied 11 years ago

Calling controller-function from within custom artisan-command -> unknown database

I know it's not technically solving your problem, but you should really not be dispatching requests...

0 Likes
replied 11 years ago

.env.staging.php won't load

Have you tried changing $_ENV to getenv()?

0 Likes
replied 11 years ago

Class repository does not exist

Reached said: Hey CodeATbusiness, But isn't the service provider more of an optional step to abstra...

0 Likes
replied 11 years ago

Getting $_ENV to work via virtualhost

Why not use something like this? 'host' => (getenv('database_host') !== false) ? getenv('database...

0 Likes
Solved

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.