Download the PHP package devrix/scaffold without Composer
On this page you can find all versions of the php package devrix/scaffold. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devrix/scaffold
More information about devrix/scaffold
Files in devrix/scaffold
Package scaffold
Short Description DevriX: Scaffold
License MIT
Homepage https://github.com/Neychok/devrix-scaffold
Informations about the package scaffold
DevriX Scaffold CLI
This is a CLI tool to scaffold a new plugin based on the DevriX plugin boilerplate.
Installation
Note: Make sure to place the
~/.composer/vendor/bin
directory (or the equivalent directory for your OS) in your PATH so thedx-scaffold
executable can be located by your system.
Usage
After installing the composer package cd
to the wp-content/plugins
directory.
Then run the following command to start the interactive CLI:
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:
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
- Skipsnpm install
andnpm run prod
.
License
MIT DevriX
All versions of scaffold with dependencies
minicli/command-help Version ^0.1.0
composer-runtime-api Version ^2.2