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

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

puli/cli
========

A Command Line Interface (CLI) for managing Puli projects.

1.0.0-beta10(10y ago)5147.2k19[3 PRs](https://github.com/puli/cli/pulls)14MITPHPPHP ^5.3.9|^7.0CI failing

Since Dec 3Pushed 9y ago4 watchersCompare

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

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

The Puli Command Line Interface
===============================

[](#the-puli-command-line-interface)

[![Build Status](https://camo.githubusercontent.com/a5311592252a5ef1d0a5eb4065e38e586f9ea90bec48b6c9336c38db0cba19f7/68747470733a2f2f7472617669732d63692e6f72672f70756c692f636c692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/puli/cli)[![Build status](https://camo.githubusercontent.com/56bc471cd1b9083ba89a90d96a3dc2d767d2195f1a36265898c7b75d3bfbc862/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6e303667636b616d6763326c7238766c2f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/webmozart/cli/branch/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/31d8150946a6a4076d3335e53d31b05378f66fa79c4d60304a1489d72406ee76/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70756c692f636c692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/puli/cli/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/bd24657ba9353d36b50859a4597911c9836c8d611c7a5c5c8b348ed08cbc9e5b/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f636c692f762f737461626c652e737667)](https://packagist.org/packages/puli/cli)[![Total Downloads](https://camo.githubusercontent.com/c0876aabcefd210aa23e331d265d8fa7c24dc7f92642b3015d9012c9597bb229/68747470733a2f2f706f7365722e707567782e6f72672f70756c692f636c692f646f776e6c6f6164732e737667)](https://packagist.org/packages/puli/cli)[![Dependency Status](https://camo.githubusercontent.com/6df511779fb489c227a9ea5247c3f39e9387744a18720dce9a11ecc8a0121a98/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f70756c693a636c692f312e302e302f62616467652e737667)](https://www.versioneye.com/php/puli:cli/1.0.0)

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

PHP &gt;= 5.3.9

The [Puli](http://puli.io) Command Line Interface gives access to the [Puli Manager](https://github.com/puli/manager) via your favorite terminal. The following is a list of the currently supported commands:

CommandDescription**Resource Mappings**`puli map`Display all path mappings`puli map  ...`Map a repository path to one or several file paths`puli map -u `Update the mapping for a repository path`puli map -d `Delete the mapping for a repository path**Resource Bindings**`puli type`Display all binding types`puli type --define `Define a new binding type`puli type -d `Remove a defined binding type`puli bind`Display all resource bindings`puli bind  `Bind resources to a type`puli bind -u `Update a resource binding`puli bind -d `Delete a resource binding`puli bind --enable `Enable a binding of an installed package`puli bind --disable `Disable a binding of an installed package**Public Resources**`puli publish`List mapped public resources`puli publish  `Publish a resource path to a server`puli publish -u `Update a published resource`puli publish -d `Delete a published resource`puli server`List all servers`puli server -a  `Add a server`puli server -u `Update a server`puli server -d `Delete a server**Building**`puli build`Build the repository and the discovery**Packages**`puli package`Display all installed packages`puli package --add  `Add a custom package`puli package -d `Remove an installed package`puli package --clean`Remove all non-existing packages**Configuration**`puli config`Show the current configuration`puli config -a`Show the current configuration (including default values)`puli config `Show the current value of a configuration key`puli config  `Change a configuration key`puli config -d `Remove a configuration key (reset to default)**Repository Access**`puli ls `List the child resources of a resource path`puli tree `Print a resource and its children as tree`puli find --name `Find resources matching a glob`puli find --type `Find resources bound to a binding type**Plugin Management**`puli plugin`List the currently installed plugins`puli plugin --install `Install a plugin class`puli plugin -d `Remove a plugin class**Update**`puli self-update`Update puli.pharRun any of the commands with the `-h` option to find out more about other supported options.

Authors
-------

[](#authors)

- [Bernhard Schussek](http://webmozarts.com) a.k.a. [@webmozart](https://twitter.com/webmozart)
- [The Community Contributors](https://github.com/puli/cli/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) 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/cli).

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

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.1% 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

3777d 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 (350 commits)")[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (11 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (9 commits)")[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (4 commits)")[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (3 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (2 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")[![holloway87](https://avatars.githubusercontent.com/u/3818393?v=4)](https://github.com/holloway87 "holloway87 (1 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (1 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")[![temp](https://avatars.githubusercontent.com/u/216128?v=4)](https://github.com/temp "temp (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[acmephp/acmephp

Let's Encrypt client written in PHP

649155.1k](/packages/acmephp-acmephp)[recca0120/terminal

run laravel artisan command in web application

878410.9k2](/packages/recca0120-terminal)[drupal/console-core

Drupal Console Core

13514.7M12](/packages/drupal-console-core)[puli/manager

Manages the puli.json file of a Puli project.

6847.9k3](/packages/puli-manager)[platformsh/cli

Platform.sh CLI

23238.0k](/packages/platformsh-cli)[puli/composer-plugin

Integrates Composer into the Puli package manager.

3868.6k28](/packages/puli-composer-plugin)

PHPackages © 2026

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