Published On Jun. 9th 2015

What's New in Laravel 5.1: Artisan Signatures

Episode 6 Run Time 4:35


In the past, defining arguments and options for an Artisan command was - to be frank - a big pain. For options, you needed to create a method that returned an array of arrays, where each one contained a sequence of values. It was up to you to memorize all of this. Thankfully, in Laravel 5.1, it's infinitely easier. In fact, it's as easy as defining a route.