wp-launchpad / bus-take-off
There is no license information available for the latest version (v3.1.0) of this package.
Initialisation library for the bus library from the Launchpad framework
v3.1.0
2024-12-20 16:36 UTC
Requires
- ext-json: *
- ext-mbstring: *
- composer/composer: ^2.5
- wp-launchpad/cli: ^3.1
Requires (Dev)
- brain/monkey: ^2.0
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^7.5 || ^8 || ^9
- wp-launchpad/bus: ^3.1
- wp-media/phpunit: ^3.0
README
A command bus for the Launchpad framework.
Install
Just run the following command:
composer require wp-launchpad/bus-take-off --dev
Usage
With this commandline the following command are available:
bus:make:query
: Generate a query file and attach it to the project.bus:make:command
: Generate a command file and attach it to the project.
Make query
To create a query run the following command: bus:make:query Namespace/MyClass
.
Make command
To create a subscriber run the following command: bus:make:command Namespace/MyClass
.