We talk about cleverness as if itâs Just Bad, such as âclever code is harder to debugâ. Thatâs going too far. Cleverness can lead to faster, safer, even clearer code.
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…