Support the ongoing development of Laravel.io →
Configuration Architecture Testing

Hi,

We are a team of developers, and each one is running tests locally before commit, each one configuration has its own emails, urls etc. Also staging and production have their own configured environments.

So we need when running phpunit to load [developer] config environment instead of testing.

Is there a workaround to this problem?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

andreas22 andreas22 Joined 29 Apr 2014

Moderators

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.

© 2025 Laravel.io - All rights reserved.