Skip to content
Switch branches/tags
This branch is 13 commits ahead, 172 commits behind outlandishideas:develop.
Fetch upstream

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

WordPress Packagist by WordPress Sweden

This is a fork of that aims to provide an up-to-date and highly available alternative and to contribute patches upstream. Feel free to use our repository by changing your repository URL in composer.json to

This is the repository for which allows WordPress plugins and themes to be managed along with other dependencies using Composer.

More info and usage instructions at or follow us on Twitter @WPSverige.

For support and discussion, please use the issue tracker above.


Example composer.json:

    "name": "acme/brilliant-wordpress-site",
    "description": "My brilliant WordPress site",
    "require": {
    "autoload": {
        "psr-0": {
            "Acme": "src/"

WordPress core

This does not provide WordPress itself.

See or

How it works

WPackagist implements the wordpress-plugin and wordpress-theme Composer Installers (

It essentially provides a lookup table from plugin name to SVN repository. Plugin versions correspond to different tags in their repository, with the special dev-master version being mapped to trunk.

The lookup table is provided as many static JSON files. The entry point to these files can be found at Each plugin and theme has its own JSON file detailing its versions; these can be found in and

Running Wpackagist


  1. Make sure you have PDO with sqlite support enabled.
  2. Make sure data is writable. Do NOT create data/packages.sqlite, it will be created automatically.
  3. Run composer install.
  4. Point your Web server to web. A .htaccess is provided for Apache.

Updating the database

The first database fetch may easily take 30-60 minutes, be patient.

  1. bin/cmd refresh: Query the SVN in order to find new and updated packages.
  2. bin/cmd update: Update the version information for packages identified in 1. Uses the API.
  3. bin/cmd build: Rebuild all .json files in web/.

CRON job

The CRON job runs the three commands above. We recommend fetching new packages every 30 minutes. Add this to your crontab to set that up:

0,30 * * * * cd /var/www/your-wpackagist-location && ./ >> /var/log/wpackagist-update.log


WordPress Packagist — manage your plugins with Composer




No releases published


No packages published