wp-launchpad / take-off
Initialisation library for the Launchpad framework
v1.0.5
2024-05-11 14:21 UTC
Requires
- ext-json: *
- ext-mbstring: *
- brianhenryie/strauss: ^0.14.0
- composer/composer: ^2.5
- wp-launchpad/cli: ^1.0.1
Requires (Dev)
- phpunit/phpunit: ^7.5 || ^8 || ^9
- wp-media/phpunit: ^3.0
This package is auto-updated.
Last update: 2024-05-11 14:22:27 UTC
README
Take Off is the library containing the CLI command used to initialize a Launchpad project.
To install the library first launch the following command: composer require wp-launchpad/take-off --dev
Then at the root from your project you can create a builder
file with the following content:
#!/usr/bin/php <?php use LaunchpadCLI\AppBuilder; require_once __DIR__ . '/vendor/autoload.php'; AppBuilder::init(__DIR__ . '/../', [ \LaunchpadTakeOff\ServiceProvider::class, ]);
Usage
To initialize the project run the following command: initialize
.
On the command the following options are available:
Option | Short option | Value | Default | Description |
---|---|---|---|---|
name | n | your name | false | Name from the plugin |
description | d | your description | false | Descripton from the plugin |
author | a | the author | false | Author from the plugin |
url | u | the url | false | URL from the plugin |
php | p | PHP version | false | Minimal PHP version to make the plugin running |
wp | w | WP version | false | Minimal WordPress version to make the plugin running |