Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LaravelCollective/bus
Laravel Command Bus
https://github.com/LaravelCollective/bus
Last synced: 13 days ago
JSON representation
Laravel Command Bus
- Host: GitHub
- URL: https://github.com/LaravelCollective/bus
- Owner: LaravelCollective
- License: mit
- Archived: true
- Created: 2015-12-06T20:02:07.000Z (almost 9 years ago)
- Default Branch: 5.3
- Last Pushed: 2016-09-28T12:22:24.000Z (about 8 years ago)
- Last Synced: 2024-10-29T01:08:49.386Z (18 days ago)
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 31
- Watchers: 5
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Bus
[![Build Status](https://travis-ci.org/LaravelCollective/bus.svg)](https://travis-ci.org/LaravelCollective/bus)
[![Total Downloads](https://poser.pugx.org/LaravelCollective/bus/downloads)](https://packagist.org/packages/laravelcollective/bus)
[![Latest Stable Version](https://poser.pugx.org/LaravelCollective/bus/v/stable.svg)](https://packagist.org/packages/laravelcollective/bus)
[![Latest Unstable Version](https://poser.pugx.org/LaravelCollective/bus/v/unstable.svg)](https://packagist.org/packages/laravelcollective/bus)
[![License](https://poser.pugx.org/LaravelCollective/bus/license.svg)](https://packagist.org/packages/laravelcollective/bus)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.