A starting point for managing a WordPress installation using Composer and Git.
- Installs WordPress into its own subdirectory.
- Uses WPackagist to manage plugins and themes.
To install:
- Clone or download the repo.
- Update required information in
composer.json, including package name, description, authors and license. - Run following command to install packages:
composer install - Copy
public/wp-config-sample.phptopublic/wp-config.phpand edit database connection details. - Set your host’s document root to the
publicdirectory. - Install WordPress in your browser.
By default, this will also install some plugins that are useful in website development. To skip the installation of these plugins, use the --no-dev option:
$ composer install --no-devSimply make edits to the package list in composer.json and run the following command:
$ composer updateSee WPackagist for more information.