[Laravel tips] How to temporarily change a laravel environment variable without updating the .env
Too Long; Didn't Read
Imagine the following scenario: you are working on a laravel application that dispatches some jobs to a queue. You notice in your log file that a specific job is throwing an exception, but you can’t debug it directly (with <code class="markup--code markup--p-code">dd()</code> for instance), since the job is consumed by a worker elsewhere.