Title: WP Composer
Author: Sean Fisher
Published: <strong>10.06.2013</strong>
Last modified: 15.07.2013

---

Търсене на разширения

![](https://ps.w.org/composer/assets/banner-772x250.png?rev=724887)

Това разширение **не е обновявано повече от 2 години**. Може вече да не се поддържа
и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

![](https://s.w.org/plugins/geopattern-icon/composer_588492.svg)

# WP Composer

 От [Sean Fisher](https://profiles.wordpress.org/sean212/)

[Изтегляне](https://downloads.wordpress.org/plugin/composer.0.1.2.zip)

 * [Детайли](https://bg.wordpress.org/plugins/composer/#description)
 * [Оценки](https://bg.wordpress.org/plugins/composer/#reviews)
 *  [Инсталиране](https://bg.wordpress.org/plugins/composer/#installation)
 * [Разработка](https://bg.wordpress.org/plugins/composer/#developers)

 [Поддръжка](https://wordpress.org/support/plugin/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?

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?

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 [http://getcomposer.org/](http://getcomposer.org/).

### 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?

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:

    ```
    require(__DIR__.'/vendor/autoload.php');
    ```

It’s that simple.

## Инсталиране

 1. Upload `/composer/` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Interface with it via wp-cli!

## ЧЗВ

  What is WP CLI?

WP-CLI is a set of command-line tools for managing WordPress installations. For 
more, checkout [http://wp-cli.org/](http://wp-cli.org/).

  What’s 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 [http://getcomposer.org/](http://getcomposer.org/).

## Отзиви

![](https://secure.gravatar.com/avatar/7f48067d4c365be64171212a461e55fc9ade09278de671902b40b17cf0817c51?
s=60&d=retro&r=g)

### 󠀁[Is the pluggin still supported?](https://wordpress.org/support/topic/is-the-pluggin-still-supported/)󠁿

 [Trinitech](https://profiles.wordpress.org/trinitech/) 17.10.2016

Hi, We would like to use your plugin but noticed that it hasn’t been updated for
over 2 years. Could you please tell us if WP Composer is working with wordpress 
4.6? Thank you

 [ Прочетете всички 2 отзива ](https://wordpress.org/support/plugin/composer/reviews/)

## Сътрудници и разработчици

“WP Composer” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

 *   [ Sean Fisher ](https://profiles.wordpress.org/sean212/)

[Превеждане на “WP Composer” на вашия език.](https://translate.wordpress.org/projects/wp-plugins/composer)

### Имате интерес към разработване?

[Преглеждане на кода](https://plugins.trac.wordpress.org/browser/composer/), разглеждане
на [SVN хранилище](https://plugins.svn.wordpress.org/composer/), или абонамент към
[програмната история (log)](https://plugins.trac.wordpress.org/log/composer/) чрез
[RSS](https://plugins.trac.wordpress.org/log/composer/?limit=100&mode=stop_on_copy&format=rss).

## Списък с промени

#### 0.1

 * Initial Release
 * Provides support for install/update/help/diagnose/status/about

#### 0.1.1 and 0.1.2

 * Bug fixes
 * Better documentation

## Мета

 *  Version **0.1.2**
 *  Last updated **Преди 13 години **
 *  Active installations **70+**
 *  WordPress version ** 3.3 или по-висока **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/composer/)
 * Tags
 * [composer](https://bg.wordpress.org/plugins/tags/composer/)[dependency](https://bg.wordpress.org/plugins/tags/dependency/)
   [php](https://bg.wordpress.org/plugins/tags/php/)[wp-cli](https://bg.wordpress.org/plugins/tags/wp-cli/)
 *  [Разширен изглед](https://bg.wordpress.org/plugins/composer/advanced/)

## Оценки

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/composer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/composer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/composer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/composer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/composer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/composer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/composer/reviews/)

## Сътрудници

 *   [ Sean Fisher ](https://profiles.wordpress.org/sean212/)

## Поддръжка

Имате да кажете нещо? Имете нужда от помощ?

 [Разглеждане на форумите за поддръжка](https://wordpress.org/support/plugin/composer/)

## Дарение

Бихте ли желали да подкрепите успеха на разширението?

 [ Направете дарение за това разширение ](http://seanfisher.co/donate)