Use the power of profiles in Firefox to make managing your multiple identities much easier.
Implement a defensive step in your Laravel framework by throwing an exception if an expected environment variable is not set, rather than reverting back to some default that is probably not appropriate.
Specify the environment in the config section of composer, allowing you to dev for a different environment.