Download the PHP package upgate/laravel-command-bus without Composer
On this page you can find all versions of the php package upgate/laravel-command-bus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download upgate/laravel-command-bus
More information about upgate/laravel-command-bus
Files in upgate/laravel-command-bus
Download upgate/laravel-command-bus
More information about upgate/laravel-command-bus
Files in upgate/laravel-command-bus
Vendor upgate
Package laravel-command-bus
Short Description Laravel Command Bus
License BSD-2-Clause
Package laravel-command-bus
Short Description Laravel Command Bus
License BSD-2-Clause
Keywords laravelcommand bus
Please rate this library. Is it a good library?
Informations about the package laravel-command-bus
Simple Command Bus for Laravel 5+
Setup
composer require upgate/laravel-command-bus
- Register
Upgate\LaravelCommandBus\CommandBusServiceProvider
as a service provider - In your service provider, bind
Upgate\LaravelCommandBus\HandlerResolver
to an implementation of your choice.
HandlerResolver binding examples:
a) PatternHandlerResolver
:
b) MapHandlerResolver
:
c) Bind your own implementation (must extend \Upgate\LaravelCommandBus\HandlerResolver
).
Usage
Simplified example:
Of course, you might (and should) want to introduce Controller and ConsoleCommand abstract classes with executeCommand()
methods implemented.
All versions of laravel-command-bus with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
illuminate/contracts Version ^5.1 || ^6 || ^7
illuminate/support Version ^5.1 || ^6 || ^7
illuminate/contracts Version ^5.1 || ^6 || ^7
illuminate/support Version ^5.1 || ^6 || ^7
The package upgate/laravel-command-bus contains the following files
Loading the files please wait ....