Support the ongoing development of Laravel.io →
jlaswell

jlaswell

Joined 16 Dec 2013

Statistics

Threads 0
Replies 32
Solutions 4
Articles 0

jlaswell has not posted any threads yet

replied 11 years ago

How do I flush, migrate and seed DB before testing ?

php artisan migrate:refresh --seed // This will clean, migrate, then seed the db phpunit // Run test...

0 Likes
replied 11 years ago

.env.staging.php won't load

Sounds good. If you run into another block, feel free to post again and I'll try to help!

0 Likes
replied 11 years ago

.env.staging.php won't load

Like I linked to above, all of the dot file loading happens in the config folder. You can browse thr...

0 Likes
replied 11 years ago

.env.staging.php won't load

Well, I bet you already know, but all of the dot file loading seems to be in the Config section. Wha...

0 Likes
replied 11 years ago

Calling setHidden from outside model does not limit attributes?

Thanks for the feedback. Glad you figured something out! Make sure to mark your own answer as the re...

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.