boxuk/wp-project-skeleton

A skeleton WordPress project to be used as a base for new WordPress projects.

v0.5.0 2023-04-04 08:35 UTC

README

Box UK Logo

BoxUK WordPress Project Skeleton

A base WordPress project from Box UK to get you up and running quickly.

Installation

Create a new project with composer

composer create-project boxuk/wp-project-skeleton my-project --stability=dev

Install with the simple install script

bin/install my-project

Note: This is an interactive command.

Usage

Frontend:

https://my-project.local

You will be faced with a security warning.

On Chrome, type thisisunsafe to bypass. On other browsers follow the prompts.

To find out more about this and what options you have, read the dedicated section on HTTPS.

Admin:

https://my-project.local/wp-admin

Username is: admin An admin password would have been generated during install, but unless you were beady eyed you probably missed it. You can easily regenerate an admin password using the following command:

bin/docker/wp user update admin --user_pass=your_password_here

Features

🐳 - Fully dockerized setup

📦 - Composer based plugin management

🧠 - Genius xdebug setup

📧 - Email testing with mailhog

🚀 - Memcached support

🔥 - Blackfire support

🧐 - Monorepo support

📋 - Dictator support for dictating state across environments

🪜 - Fixtures support using wp-cli-fixtures

💉 - Baked in Dependency Injection support with Symfony

🪝 - DI based hook solution using tags

🏋️‍♀️ - Optimised mu-plugin setup, including scaffold tool

🚩 - First class support for feature flags using flagpole

✅ - Unit, Integration and Visual Regression testing support

💻 - Logging support through Wonolog

You can read more about all of these features in this post on the Box UK blog.

Documentation

License

GPLv2