LaravelCollective / bus

Laravel Command Bus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bus

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

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 your app.php configuration file.
  • Add Collective\Bus\BusServiceProvider to your app.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.

About

Laravel Command Bus

License:MIT License


Languages

Language:PHP 100.0%