A full fledged composer template for setting up and managing a WordPress project with Composer.
- Schema – All In One Schema Rich Snippets
- AMP
- BBQ:Bad Block Queries
- Contact Form 7
- Cloudflare
- Custom Post Type UI
- Flamingo
- SSL Insecure Content Fixer
- Super Progressive Web Apps
- Wordfence
- YoastSEO
Please see requirements below before moving on to the steps.
- Server with PHP / Apache (or Nginx) / MySQL (or PostreSQL)
- Git
- Composer
- Clone this repository into your website projects folder:
git clone git@github.com:martingrondein/wordpress-composer-full.git
- Install this desired setup with Composer:
cd wordpress-composer-full
composer install
- Copy web/index.php to your project folder. You can do this from the command line with
cp web/index.php ./index.php
- Slightly modify index.php in your project root. The index.php in the root of your project (the one you just created via a copy command) should be modified.
So...
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
... becomes ...
require( dirname( __FILE__ ) . '/web/wp-blog-header.php' );
Please note: If you are looking for a no-frills composer.json template, please see the wordpress-composer-base repo.