Skip to Content
✨ WP Bones v2.0.3 is out! Check the Release Notes →
DocumentationGetting StartedRequirements

Requirements

WP Bones requires PHP ≥ 8.1, git, Composer, Node.js with a package manager (yarn, npm or pnpm), and optionally WP-CLI. The php bones command must run inside a working WordPress install — a local dev environment like Laravel Valet, Local, Lando, Docker, or WordPress Playground all work.

Developer tools

If you are new to Composer , Node.js / yarn , or webpack , take a quick look at their docs before diving in.

WP-CLI is optional, but the make-pot and make-json yarn scripts shell out to it for translation file generation — install it if you plan to translate the plugin.

Supported operating systems

macOS, Linux, and Windows 10/11 are all supported. On Windows we recommend WSL2 for a smoother PHP / Node toolchain experience.

WordPress environment

php bones must be executed from a working WordPress install because it loads WordPress to resolve plugin context, options, database connection, and so on. See WordPress environments for the setups we recommend (Valet, Local, Lando, Docker, Playground, Vagrant…). Make sure git and composer are available in the same shell where you run php bones; Node.js / yarn can live on the host machine.

Last updated on