PHP Contributor Larry Garfield walks us through a couple of neat ideas and RFC’s for PHP he’s been working on. I would very much welcome a pipe operator in PHP.
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…