The Laravel Bus (5.1) package for use in Laravel 5.3.
Installs: 285 628
Dependents: 3
Suggesters: 0
Security: 0
Stars: 31
Watchers: 5
Forks: 10
Open Issues: 2
Requires
- php: >=5.6.4
- illuminate/container: 5.3.*
- illuminate/contracts: 5.3.*
- illuminate/pipeline: 5.3.*
- illuminate/support: 5.3.*
Requires (Dev)
- mockery/mockery: ~0.9.4
- phpunit/phpunit: ~5.4
This package is auto-updated.
Last update: 2024-02-29 02:52:37 UTC
README
This package provides an implementation of the Illuminate\Contracts\Bus\Dispatcher
interface that matches the Laravel 5.1.x implementation with separate commands and handlers.
Installation
- Remove
Illuminate\Bus\BusServiceProvider
from yourapp.php
configuration file. - Add
Collective\Bus\BusServiceProvider
to yourapp.php
configuration file.
If you are type-hinting Illuminate\Bus\Dispatcher
, you should now type-hint Collective\Bus\Dispatcher
.
If upgrading from 5.2, you should use Collective\Bus\Contracts\SelfHandling
instead of Illuminate\Contracts\Bus\SelfHandling
to indicate that a command does not use a separate handler class.