PHPackages                             puli/composer-plugin - 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. puli/composer-plugin

ActiveComposer-plugin

puli/composer-plugin
====================

Integrates Composer into the Puli package manager.

1.0.0-beta10(10y ago)3868.6k19[1 issues](https://github.com/puli/composer-plugin/issues)[1 PRs](https://github.com/puli/composer-plugin/pulls)20MITPHPPHP ^5.3.9|^7.0

Since Feb 5Pushed 9y ago8 watchersCompare

[ Source](https://github.com/puli/composer-plugin)[ Packagist](https://packagist.org/packages/puli/composer-plugin)[ Docs](http://puli.io)[ RSS](/packages/puli-composer-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (13)Used By (20)

The Puli Plugin for Composer
============================

[](#the-puli-plugin-for-composer)

[![Build Status](https://camo.githubusercontent.com/4bc0446fdd43d0c30b14ecc4a4291c18d720cb3243681170e0794a5c03e7f7ea/68747470733a2f2f7472617669732d63692e6f72672f70756c692f636f6d706f7365722d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/puli/composer-plugin)[![Build status](https://camo.githubusercontent.com/f00e7deb27a06f5570371c6d9a153a981fd843e5b8473a1eb088712c058b3d93/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f61686b32346c336d32746168633969682f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/webmozart/composer-plugin/branch/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/32faa4463949e01460f27dbdeec34bd0741f152b50c0fbab7555ddd140001ac1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70756c692f636f6d706f7365722d706c7567696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/puli/composer-plugin/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/f86aeca772630487bde331e701595bb47ed174a2a6c296635c6c76f9a696c12f/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f636f6d706f7365722d706c7567696e2f762f737461626c652e737667)](https://packagist.org/packages/puli/composer-plugin)[![Total Downloads](https://camo.githubusercontent.com/451bc971b4f5dbebd41a8c89c38e6a129e2f2a81e2f31d0fb88cdf3f2a64aeec/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f636f6d706f7365722d706c7567696e2f646f776e6c6f6164732e737667)](https://packagist.org/packages/puli/composer-plugin)[![Dependency Status](https://camo.githubusercontent.com/12259b024b737e8f03c31574267343d13f0c01a8a326791e92b6903e24f4d010/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f70756c693a636f6d706f7365722d706c7567696e2f312e302e302f62616467652e737667)](https://www.versioneye.com/php/puli:composer-plugin/1.0.0)

Latest release: [1.0.0-beta10](https://packagist.org/packages/puli/composer-plugin#1.0.0-beta10)

PHP &gt;= 5.3.9

This plugin integrates [Composer](https://getcomposer.org) with the [Puli Manager](https://github.com/puli/manager). Whenever you install or update your Composer dependencies, a [Puli resource repository](https://github.com/puli/repository) and [discovery](https://github.com/puli/discovery) are built from the puli.json files of all installed packages:

```
{
    "path-mappings": {
        "/acme/blog": "resources"
    }
}
```

You can load the built repository/discovery in your code:

```
$factoryClass = PULI_FACTORY_CLASS;
$factory = new $factoryClass();

// Fetch resources from the repository
$repo = $factory->createRepository();

echo $repo->get('/acme/blog/config/config.yml')->getBody();

// Find resources by binding type
$discovery = $factory->createFactory($repo);

foreach ($discovery->findBindings('doctrine/xml-mapping') as $binding) {
    foreach ($binding->getResources() as $resource) {
        // do something...
    }
}
```

Authors
-------

[](#authors)

- [Bernhard Schussek](http://webmozarts.com) a.k.a. [@webmozart](https://twitter.com/webmozart)
- [The Community Contributors](https://github.com/puli/composer-plugin/graphs/contributors)

Installation
------------

[](#installation)

Follow the [Installation guide](http://docs.puli.io/en/latest/installation.html) to install Puli in your project.

Documentation
-------------

[](#documentation)

Read [the Puli Documentation](http://docs.puli.io/en/latest/index.html) to learn more about Puli.

Contribute
----------

[](#contribute)

Contributions to are very welcome!

- Report any bugs or issues you find on the [issue tracker](https://github.com/puli/issues/issues).
- You can grab the source code at Puli’s [Git repository](https://github.com/puli/composer-plugin).

Support
-------

[](#support)

If you are having problems, send a mail to  or shout out to [@webmozart](https://twitter.com/webmozart) on Twitter.

License
-------

[](#license)

All contents of this package are licensed under the [MIT license](LICENSE).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Recently: every ~58 days

Total

12

Last Release

3700d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00803e109877ea9de0995e81c928871a595781bd6ea227092bfd7c6df5af58f0?d=identicon)[webmozart](/maintainers/webmozart)

---

Top Contributors

[![webmozart](https://avatars.githubusercontent.com/u/176399?v=4)](https://github.com/webmozart "webmozart (280 commits)")[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (8 commits)")[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (6 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (2 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (2 commits)")[![DavidBadura](https://avatars.githubusercontent.com/u/470138?v=4)](https://github.com/DavidBadura "DavidBadura (2 commits)")[![WedgeSama](https://avatars.githubusercontent.com/u/1552205?v=4)](https://github.com/WedgeSama "WedgeSama (1 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")[![pkruithof](https://avatars.githubusercontent.com/u/330828?v=4)](https://github.com/pkruithof "pkruithof (1 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (1 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/puli-composer-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/puli-composer-plugin/health.svg)](https://phpackages.com/packages/puli-composer-plugin)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
