I'd like to get some informations about Laravel 5.1 command bus. As far as I see in 5.0 there was a BusServiceProvider in App/Providers namespace that provided some default behaviour for resolving command handler class so everything worked smoothly. But I created a project straight with 5.1 version and the file is not present in that version leaving commands created with
php artisan make:command --handler
useless if you don't map the command to handler manually or not create a self-handling command. Is that normal behaviour or there is something I am missing ?
The command bus was deprecated in the move from 5.0 to 5.1; see these tweets for more. They've been replaced with
Job
s, which can be run both synchronous or async.