Skip to content

WP Packages is our new WPackagist replacement that's 17x faster and updates every 5 minutes

Roots provides the tools and packages you need to manage WordPress with Composer — from WordPress core to plugins and themes.

WordPress core Composer packages

composer require roots/wordpress

Number of roots/wordpress installs:

16,976,096

Use the roots/wordpress Composer package to install WordPress core with Composer. This package is a mirror of the WordPress core files, so it’s always up to date with the latest WordPress release.

View on GitHub

Composer repository for WordPress plugins and themes

composer require wp-plugin/woocommerce

WP Packages is a Composer repository for WordPress plugins and themes. Install any plugin or theme from the WordPress.org directory with Composer.

composer config repositories.wp-packages composer https://repo.wp-packages.org

View on GitHub

WordPress with Composer Boilerplate

composer create-project roots/bedrock

Bedrock, our WordPress boilerplate, ships with a composer.json that includes roots/wordpress and is pre-configured with WP Packages, so any plugin or theme from the WordPress.org directory can easily be required.

Why roots/wordpress over johnpbloch/wordpress ?

roots/wordpress is a modern, actively maintained for providing WordPress core packages via Composer. It offers clearer package options and faster release polling. See how the packages are built.

roots/wordpress johnpbloch/wordpress
Packagist installs 16,976,096 9,527,248
Maintenance posture

Multi-repo package stack with active release automation:

Single package line
Package options Single full package
Pre-release availability WordPress Beta/RC releases available No available beta/RC releases
Release polling cadence Every 10 minutes Every 15 minutes
Release safeguards Automated API-to-tag checks before package publishing No published release verification checks
Build tooling Packager is a tested PHP project with CI and release workflows Build pipeline is a Bash workflow