boxuk/wp-project-skeleton

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

Installs: 122

Dependents: 0

Suggesters: 0

Security: 0

Stars: 50

Watchers: 13

Forks: 5

Open Issues: 1

Language:HTML

Type:project

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

README

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

📚 Read the docs

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 --project=[project_name] --network=[docker_network_name] --php=[php_version]

All arguments are optional.

Defaults:

  • Project Name = boxuk-wp-skeleton
  • Network Name = boxuk-docker
  • PHP Version = 8.2

Note: This is an interactive command.

Usage

Frontend:

https://my-project.local

Admin:

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

If you need to update the admin password, you can run the following WP-CLI command:

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

Features

📕 - Fully documented.

🐳 - Fully dockerized setup

📦 - Composer based plugin management

🧠 - Xdebug installed by default

📋 - Configurable state across environments (WIP)

🪜 - Customisable fixtures support using the WP CLI (WIP)

🚩 - First class support for feature flags using wp-feature-flags

✅ - Unit, Integration and Visual Regression testing support

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

License

GPLv2