PHPackages                             srtfisher/wp-composer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. srtfisher/wp-composer

AbandonedArchivedWp-cli[CLI &amp; Console](/categories/cli)

srtfisher/wp-composer
=====================

WP-CLI wrapper for Composer

0.1.2(12y ago)29223GPL-2.0PHPPHP &gt;=5.3.2

Since Jun 10Pushed 9y agoCompare

[ Source](https://github.com/srtfisher/wp-composer)[ Packagist](https://packagist.org/packages/srtfisher/wp-composer)[ Docs](http://wordpress.org/plugins/composer)[ RSS](/packages/srtfisher-wp-composer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

WordPress Composer
==================

[](#wordpress-composer)

Adding Composer dependency management to WP CLI. Allows you to recursivly install/update composer packages inside of all of your WordPress plugins and themes.

### What is this using?

[](#what-is-this-using)

This package uses a great piece of software called [WP-CLI](http://wp-cli.org/). It provides a command line interface for WordPress management. We are a plugin providing Composer management inside of WP CLI.

### What's Composer?

[](#whats-composer)

It's the greatest thing to happen to the web since GIFs, Drop Shadows and dancing cats. Composer is a dead simple JSON-based dependency manager for PHP. For more information, check out .

### So this is complete Composer support?

[](#so-this-is-complete-composer-support)

No, not exactly! Sadly, I'm building this out and I'm trying to make some sweet WP-CLI and Composer integration. But for now, we only support a few command:

- install
- update
- diagnose
- help
- status

If you'd love to help out, please help! Make a pull request and let's get coding!

### How do I build Composer Management inside of my plugin?

[](#how-do-i-build-composer-management-inside-of-my-plugin)

Simple really! You just create a simple `composer.json` file like you would with any Composer project. From there, wp-composer will interface with each plugin/theme that has composer support and it will generate the autoload files, too!

Just include something like this inside your main plugin file:

```
