wp-launchpad/take-off
最新稳定版本:v3.1.0
Composer 安装命令:
composer require wp-launchpad/take-off
包简介
Initialisation library for the Launchpad framework
README 文档
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 |
统计信息
- 总下载量: 5.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-04-06