wordpress-boilerplate
, (*1)
Boilerplate for deploying new WordPress projects. Based on johnpbloch/wordpress-project and composer.rarst.net.
Using Composer and associated plugins, and the unofficial wpackagist.org repository.
Packages are published and updated regularly at Packagist., (*2)
WordPress versions supported
Development branches
- 4.x - development branch for the latest WordPress 4.7.x
Usage
Before starting, consult the Composer reference for standard usage instructions.
Use composer create-project
to deploy a new project, specifying one branch., (*3)
composer create-project solsoft/wordpress-boilerplate:4.x-dev my-project --stability dev --no-interaction;
cd my-project;
composer update;
composer show;
composer run;
Contributing
Clone the git repository pointing to one of the development branches.
Merge requests should be submitted against these branches., (*4)
git clone -b 4.x git@github.com:solsoft/wordpress-boilerplate.git;
cd wordpress-boilerplate;
composer install;
composer update;
composer show;
composer run;
The project can be reset by running composer cleanup-project
to delete
the vendor/
, assets/
and app/
directories and the composer.lock
file.
Optionally you may run composer examples-deploy
to install example WordPress
Contributed libraries, plugins and themes example dependencies. These can
also be undeployed by running composer examples-undeploy
. See more
information about this in the composer.examples
directory., (*5)
Credits
See the composer README for information about composer packages.
Inspiration taken from johnpbloch/wordpress-project and composer.rarst.net., (*6)
WordPress Boilerplate
Copyright (C) 2017 SOL-Soft
LuĂs Pedro Algarvio, (*7)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version., (*8)
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details., (*9)
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/., (*10)