定制 devrix/scaffold 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

devrix/scaffold

最新稳定版本:1.0.2

Composer 安装命令:

composer require devrix/scaffold

包简介

DevriX: Scaffold

README 文档

README

This is a CLI tool to scaffold a new plugin based on the DevriX plugin boilerplate.

Installation

composer global require devrix/scaffold

Note: Make sure to place the ~/.composer/vendor/bin directory (or the equivalent directory for your OS) in your PATH so the dx-scaffold executable can be located by your system.

export PATH="$PATH:$HOME/.config/composer/vendor/bin"

Usage

After installing the composer package cd to the wp-content/plugins directory.

Then run the following command to start the interactive CLI:

dx-scaffold plugin new

You can predefine the plugin attributes by specifying them as arguments:

  • name="" - The name of the plugin.
  • slug="" - The slug of the plugin.
  • class="" - The main class of the plugin.
  • namespace="" - The namespace of the plugin.
  • abbr="" - The abbreviation to use for global variables.

Example usage:

dx-scaffold name="DevriX" slug="devrix" class="Devrix" namespace="DX" abbr="DX" 

You can also skip parts of the interactive CLI by specifying a --skip flag.

  • --skip-clone - Skips the git clone step.
  • --skip-rename - Skips the renaming/search-replace step.
  • --skip-npm - Skips npm install and npm run prod.

License

MIT DevriX

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固