WP Composer is now WP Packages! Read the announcement.

WordPress Packages
for Composer

A modern, community-funded Composer repository for WordPress plugins and themes.

$ composer config repositories.wp-packages composer https://repo.wp-packages.org
11K
Plugin Installs
1K
Theme Installs

Twenty Twenty-Five

1.4 theme

Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.

1.0M active installs 1K composer installs

WooCommerce

10.6.1 plugin

Everything you need to launch an online store in days and keep it growing for years. From your first sale to millions in revenue, Woo is with you.

7.0M active installs 454 composer installs

Yoast SEO – Advanced SEO with real-time guidance and built-in AI

27.2 plugin

Improve your SEO with real-time feedback, schema, and clear guidance. Upgrade for AI tools, Google Docs integration, and 24/7 support, no hidden fees.

10.0M active installs 437 composer installs

Redis Object Cache

2.7.0 plugin

A persistent object cache backend powered by Redis®¹. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.

300K active installs 278 composer installs

Redirection

5.7.5 plugin

Manage 301 redirects, track 404 errors, and improve your site. No knowledge of Apache or Nginx required.

2.0M active installs 241 composer installs

Query Monitor – The developer tools panel for WordPress

3.20.4 plugin

Query Monitor is the developer tools panel for WordPress and WooCommerce.

200K active installs 231 composer installs

Classic Editor

1.6.7 plugin

Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all plugins that extend this screen.

9.0M active installs 227 composer installs

Yoast Duplicate Post

4.6 plugin

The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.

4.0M active installs 220 composer installs

Safe SVG

2.4.0 plugin

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

1.0M active installs 181 composer installs

Two Factor

0.16.0-beta.1 plugin

Enable Two-Factor Authentication (2FA) using time-based one-time passwords (TOTP), Universal 2nd Factor (U2F), email, and backup verification codes.

100K active installs 177 composer installs

The SEO Framework – Fast, Automated, Effortless.

5.1.4 plugin

The fastest feature-complete SEO plugin for professional WordPress websites. Secure, fast, unbranded, and automated SEO. Do less; get better results.

200K active installs 150 composer installs

Polylang

3.8.1 plugin

Go multilingual in a simple and efficient way. Keep writing posts and taxonomy terms as usual while defining their languages all at once.

800K active installs 149 composer installs
Page 1 of 5117 Next »

Package naming

TypeConventionExample
Pluginwp-plugin/plugin-namewp-plugin/woocommerce
Themewp-theme/theme-namewp-theme/twentytwentyfive

Usage

Example composer.json for standalone WordPress projects:

composer.json
{
  "repositories": [
    {
      "name": "wp-packages",
      "type": "composer",
      "url": "https://repo.wp-packages.org",
      "only": ["wp-plugin/*", "wp-theme/*"]
    }
  ],
  "require": {
    "composer/installers": "^2.2",
    "wp-plugin/woocommerce": "^10.0",
    "wp-theme/twentytwentyfive": "^1.0"
  },
  "extra": {
    "installer-paths": {
      "wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
      "wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
      "wp-content/themes/{$name}/": ["type:wordpress-theme"]
    }
  }
}

Bedrock already comes configured for both WP Packages and the roots/wordpress package.

Roots WordPress packages

Roots also provides WordPress core as Composer packages:

roots/wordpressMeta-package for installing WordPress core via Composer
roots/wordpress-fullFull WordPress build (core + default themes + plugins + betas)
roots/wordpress-no-contentMinimal WordPress build (core only)
roots/bedrockWordPress boilerplate with Composer, better config, and improved structure

A typical Bedrock project uses roots/wordpress for WordPress core and WP Packages for plugins and themes.

Migrating from WPackagist

1

Remove wpackagist packages:

composer remove wpackagist-theme/twentytwentyfive
2

Remove the wpackagist repository and add WP Packages:

composer config --unset repositories.wpackagist && composer config repositories.wp-packages composer https://repo.wp-packages.org
3

Require packages with the new naming:

composer require wp-theme/twentytwentyfive

Or use the migration script to automatically update your composer.json:

$ curl -sO https://raw.githubusercontent.com/roots/wp-packages/main/scripts/migrate-from-wpackagist.sh && bash migrate-from-wpackagist.sh

WP Packages is community-funded open source. Support our work by sponsoring us on GitHub.

Sponsors

Carrot Kinsta WordPress.com Itineris