Event-driven systems come in all sorts of shapes and sizes. The obvious commonality is; they all use events to communicate information. These events come in many shapes and sizes, and determining what goes into an event has an immense impact on the design of your system.
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…