PHPackages                             puli/repository-manager - 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/repository-manager

Abandoned → [puli/manager](/?search=puli%2Fmanager)Library

puli/repository-manager
=======================

Manages the puli.json file of a Puli project.

1.0.0-beta10(10y ago)681.9k19[2 PRs](https://github.com/puli/manager/pulls)1MITPHPPHP ^5.3.9|^7.0CI failing

Since Dec 3Pushed 9y ago9 watchersCompare

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

READMEChangelog (10)Dependencies (18)Versions (13)Used By (1)

The Puli Manager Component
==========================

[](#the-puli-manager-component)

[![Build Status](https://camo.githubusercontent.com/d571132bdd0d9a8a54d59fd648070a95369af76461e6502b4f4da6403df8d1f1/68747470733a2f2f7472617669732d63692e6f72672f70756c692f6d616e616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/puli/manager)[![Build status](https://camo.githubusercontent.com/51f42b66018bc097d4f14b312eaaa8c2fa8955737ef4e4ce3306d6c2ff2b01da/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f65623561706f74646e703068303231622f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/webmozart/manager/branch/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bbdb45e5b78480f40340a62106e6e696c2624ede78af69597cb8dba10900a9c6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70756c692f6d616e616765722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/puli/manager/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/19f5c4d0520c1da10a977773391767f8c2a418795836d93df12f919758499ce3/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f6d616e616765722f762f737461626c652e737667)](https://packagist.org/packages/puli/manager)[![Total Downloads](https://camo.githubusercontent.com/ce5c1df2179750e81268e1940c89bf7a728c0cab461a416fba76259be812ae78/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f6d616e616765722f646f776e6c6f6164732e737667)](https://packagist.org/packages/puli/manager)[![Dependency Status](https://camo.githubusercontent.com/bee71621c3a31faadd4099813c6c4d0be77d886d31e6b84a82c7273a3d0348d3/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f70756c693a6d616e616765722f312e302e302f62616467652e737667)](https://www.versioneye.com/php/puli:manager/1.0.0)

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

PHP &gt;= 5.3.9

The [Puli](http://puli.io) Manager Component builds a [resource repository](https://github.com/puli/repository) and [discovery](https://github.com/puli/discovery) from a puli.json configuration in the root of your project:

```
{
    "path-mappings": {
        "/app": "res"
    }
}
```

This mapping can be loaded with the [`RepositoryManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Repository.RepositoryManager.html):

```
use Puli\Manager\Api\Container;

$puli = new Container(getcwd());
$puli->start();

$repoManager = $puli->getRepositoryManager();
$repoManager->buildRepository();
```

The [`RepositoryManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Repository.RepositoryManager.html) also supports methods to manipulate the puli.json.

Modules
-------

[](#modules)

A puli.json configuration can also be placed in any module installed in your project. This module needs to be registered with Puli with the [`ModuleManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Module.ModuleManager.html):

```
$moduleManager = $puli->getModuleManager();

$moduleManager->installModule('path/to/module', 'vendor/module-name');
```

Usually, modules are installed automatically by Puli's [Composer Plugin](https://github.com/puli/composer-plugin).

Managers
--------

[](#managers)

The following is a table of all managers supported by this package:

ClassDescription[`RepositoryManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Repository.RepositoryManager.html)Manages resource mappings and builds [`ResourceRepository`](http://api.puli.io/latest/class-Puli.Repository.Api.ResourceRepository.html) instances[`DiscoveryManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Discovery.DiscoveryManager.html)Manages bindings and binding types and builds [`Discovery`](http://api.puli.io/latest/class-Puli.Discovery.Api.Discovery.html) instances[`AssetManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Asset.AssetManager.html)Manages asset mappings used by the [`UrlGenerator`](http://api.puli.io/latest/class-Puli.UrlGenerator.Api.UrlGenerator.html)[`ServerManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Server.ServerManager.html)Manages servers used by the [`UrlGenerator`](http://api.puli.io/latest/class-Puli.UrlGenerator.Api.UrlGenerator.html)[`FactoryManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Factory.FactoryManager.html)Manages the generation of the `GeneratedPuliFactory` class[`ModuleManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Module.ModuleManager.html)Manages the installed modules[`ConfigFileManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Config.ConfigFileManager.html)Manages changes to a global `config.json` file[`RootModuleFileManager`](http://api.puli.io/latest/class-Puli.Manager.Api.Module.RootModuleFileManager.html)Manages changes to the `puli.json` file of the projectAuthors
-------

[](#authors)

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

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

[](#installation)

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

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

[](#documentation)

Read the [Puli Documentation](http://docs.puli.io/en/latest/index.html) if you want 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/manager).

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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.4% 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 ~40 days

Total

11

Last Release

3769d ago

PHP version history (2 changes)1.0.0-alpha1PHP &gt;=5.3.9

1.0.0-beta10PHP ^5.3.9|^7.0

### 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 (563 commits)")[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (7 commits)")[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (5 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")[![taueres](https://avatars.githubusercontent.com/u/3669079?v=4)](https://github.com/taueres "taueres (3 commits)")[![patternseek](https://avatars.githubusercontent.com/u/7610379?v=4)](https://github.com/patternseek "patternseek (3 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (2 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")[![niklongstone](https://avatars.githubusercontent.com/u/6797299?v=4)](https://github.com/niklongstone "niklongstone (1 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (1 commits)")[![johanderuijter](https://avatars.githubusercontent.com/u/1373219?v=4)](https://github.com/johanderuijter "johanderuijter (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/puli-repository-manager/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M650](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

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

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

1.3k1.3M152](/packages/sulu-sulu)[puli/manager

Manages the puli.json file of a Puli project.

6847.9k3](/packages/puli-manager)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)

PHPackages © 2026

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