Skip to content
WordPress site skeleton using Composer
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
htdocs
.gitignore
README.md
composer.json
wp-cli.yml

README.md

wp-composer-skeleton

WordPress site skeleton using Composer

Initial setup

  • Clone the repo
  • Change the origin git remote to your new repo git remote origin set-url YOUR-URL
  • Copy sample.dev.php to dev.php
  • Create database and add credentials to dev.php
  • Change the $table_prefix in wp-config.php
  • Run composer install
  • Add plugins to composer.json, eg. composer require wpackagist-plugin/wordpress-seo
  • Visit your site to run the Installation
  • Ensure site_url has /wp suffix but home does not
  • Add all your site code to /app/App.php (changing the namespace there and composer.json)
You can’t perform that action at this time.