The recent release of Laravel 5.2 has many welcome additions and changes, we're really excited by it.
Rather than rewriting the code, Graham has pulled the old Command Bus code out of Laravel and into a new package; AltThree/Bus.
Aside from being a drop-in replacement for Laravel 5.2, our package also:
- Includes extra 5.2 specific changes, such as custom queue connectors.
- Doesn't rely on the self-handling contract which is deprecated in Laravel 5.3
It's very easy to get started with our Bus package:
composer require alt-three/bus
Once Alt Three Bus is installed, you need to replace the original service provider. Open up
./config/app.php and replace