One of our projects has a really large test suite that isn’t optimised to run with Laravel’s parallel testing. It was starting to take more than 15 minutes to have the whole test suite run inside Github Actions, which is when my colleague Rias searched for a better way to do this.
PHP
Preventing Destructive Commands from Running in Laravel
Read about how to use the IlluminateConsoleProhibitable trait to prevent destructive commands from running in your Laravel application. We’ll also look at how to prevent your own custom Artisan commands from running using this trait. Read more…