I created a trait for Laravel that's similar to the new Prohibitable trait in Laravel 11. My version requires zero config unless you want to change the envs that commands are not allowed to run on. I think this works well as a companion to the new one. https://gist.github.com/chrispian/b933e5d9432488df2b058fbebd2151d1

Comments