wp-launchpad / bus-take-off
There is no license information available for the latest version (v1.3.0) of this package.
Initialisation library for the bus library from the Launchpad framework
v1.3.0
2024-10-25 00:46 UTC
Requires
- ext-json: *
- ext-mbstring: *
- composer/composer: ^2.5
- wp-launchpad/cli: ^1.0.1
Requires (Dev)
- brain/monkey: ^2.0
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^7.5 || ^8 || ^9
- wp-launchpad/bus: ^1.2
- 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
.