Download the PHP package wpbp/generator without Composer
On this page you can find all versions of the php package wpbp/generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wpbp/generator
More information about wpbp/generator
Files in wpbp/generator
Package generator
Short Description Generator of Wordpress Plugin Boilerplate Powered
License GPL-3.0-or-later
Homepage https://wpbp.github.io/
Informations about the package generator
WPBP Generator
This generator (based on PHP) parse the WordPress Plugin Boilerplate Powered and remove the stuff that you don't need.
Requirements
Let's have a look on what you need and how to install it:
Debian/Ubuntu
sudo apt install php php-zip php-mbstring php-yaml
Fedora/Centos
sudo dnf install php php-zip php-mbstring php-yaml
Mac OS
brew install pkg-config zlib
pecl install zip mbstring yaml
(source: https://grrr.tech/posts/installing-homebrew-php-extensions-with-pecl)
Install
From here you can download the phar version or you can chose to install it with composer:
composer global require wpbp/generator:dev-master
Add this directory to your PATH in your ~/.bash_profile (or ~/.bashrc) like this:
export PATH=~/.composer/vendor/bin:$PATH
Execute
wpbp-generator --help
to get a list of commands
wpbp.json
This file contains all the default variables that will be used to scaffold the boilerplate.
- plugin/author section includes Plugin names for the WordPress plugin standard but also the Comments section in every file
- public-assets section includes code for frontend that enqueue CSS and JS file
- act-deact section includes the code on activation/deactivation of the plugin itself and the uninstall.php file
- admin-assets section includes code for backend that enqueue CSS and JS file,
settings
values are for the Plugin setting page and admin for the rest of backend,admin-page
add a new setting plugin page - ajax section add code for WordPress Ajax system for logged/non-logged users
- git-repo execute automatically
git init
in the folder created - block adds the support for a custom block, grumphp adds the support for GrumPHP and phpstan for PHPStan
- phpcs/phpstan enable predefined settings and rulesets for this tools
- unit-test adds the
tests
folder andcodeception.dist.yml
file with the various packages for composer about Codeception - wpcli adds the support in the plugin code for the WP-CLI tool
- language-files adds the po/mo files and the code to load custom languages files
- libraries includes all the composer packages that will be downloaded with the related example code in the boilerplate itself, removing them will not add it
- snippet in the various subsections add specific code snippet integrated for the various needs in WordPress, removing them will not add it
All versions of generator with dependencies
zordius/lightncandy Version ^1.2
nategood/commando Version 0.4.0
1happyplace/clio Version 2.3.1
perchten/rmrdir Version 1.*
ext-json Version *
ext-yaml Version *