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

ActiveLibrary

php-cli/php-cli
===============

A simple command-line interface (CLI) helper for PHP.

141516PHP

Since Jun 27Pushed 10y ago2 watchersCompare

[ Source](https://github.com/thebra/php-cli)[ Packagist](https://packagist.org/packages/php-cli/php-cli)[ RSS](/packages/php-cli-php-cli/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (2)Used By (0)

php-cli [![alt tag](https://camo.githubusercontent.com/aa5ce8aa9201f6bbb14f557968428495369146ab1405e3f09f5637a0483c8fca/68747470733a2f2f7472617669732d63692e6f72672f6a61736f6e627261646c65792f7068702d636c692e737667)](https://camo.githubusercontent.com/aa5ce8aa9201f6bbb14f557968428495369146ab1405e3f09f5637a0483c8fca/68747470733a2f2f7472617669732d63692e6f72672f6a61736f6e627261646c65792f7068702d636c692e737667)
========================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-cli-)

A simple class to help make command line usage in PHP easier.

Features:

1. Progress Bar
2. Display Memory Usage
3. Print text in various foreground/background colors
4. Prompt for input from the user

> Example Usage: php example.php --date=2012-01-01 -v

Or with help output:

> Example Usage: php example.php -h

Copyright \[2012\] \[Jason Bradley\]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b9e4f238cb5a6366013e74903e9f87d8b4ebf33cd3f66136cf37b982d0cb1bb?d=identicon)[jasonbradley](/maintainers/jasonbradley)

---

Top Contributors

[![jasonbradley](https://avatars.githubusercontent.com/u/1060978?v=4)](https://github.com/jasonbradley "jasonbradley (44 commits)")

### Embed Badge

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

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

PHPackages © 2026

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