wp-launchpad/cli-installer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wp-launchpad/cli-installer

最新稳定版本:v3.1.0

Composer 安装命令:

composer require wp-launchpad/cli-installer

包简介

Initialisation library for Launchpad libraries

README 文档

README

Install libraries from the Launchpad Framework.

Install

To install run the following command : composer require wp-launchpad/cli-installer

Then you need to add the provider LaunchpadCLIInstaller\ServiceProvider to the /bin/generator file:

#!/usr/bin/php <?php use LaunchpadCLI\AppBuilder; require_once __DIR__ . '/../vendor/autoload.php'; AppBuilder::init(__DIR__ . '/../', [ \LaunchpadTakeOff\ServiceProvider::class, \LaunchpadCLIInstaller\ServiceProvider::class, ]);

Create a library compatible

To make a library compatible you need to add the following content:

"extra": { "launchpad": { "provider" : "MyCLI\\MyProvider", "library_provider" : "MyLibrary\\MyProvider", "command": "my-command", "install": true, "clean": true, "libraries": { "owner/library": "^0.0.1" } } }
Name Type Example Description
provider string MyCLI\MyProvider The service provider from the cli library if there is one
library_provider string MyLibrary\MyProvider The service provider from the library if there is one
command string my-command The command to install the library if there is one
install boolean true Should the command be executed or just displayed to the user
clean boolean true Should the library be removed after the installation
libraries array {"owner/library": "^0.0.1"} Libraries to install into dependencies

统计信息

  • 总下载量: 5.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固