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.
- WordPress 4.7.x
- 4.x - development branch for the latest WordPress 4.7.x
Before starting, consult the Composer reference for standard usage instructions.
Use composer create-project
to deploy a new project, specifying one branch.
composer create-project solsoft/wordpress-boilerplate:4.x-dev my-project --stability dev --no-interaction;
cd my-project;
composer update;
composer show;
composer run;
Clone the git repository pointing to one of the development branches.
Merge requests should be submitted against these branches.
git clone -b 4.x [email protected]: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.
See the composer README for information about composer packages.
Inspiration taken from johnpbloch/wordpress-project and composer.rarst.net.
WordPress Boilerplate
Copyright (C) 2017 SOL-Soft
Luís Pedro Algarvio
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.
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.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.