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

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

smasty/cli-mate
===============

Command-line infrastructure for PHP

26PHP

Since Jan 15Pushed 13y ago1 watchersCompare

[ Source](https://github.com/smasty/CLImate.php)[ Packagist](https://packagist.org/packages/smasty/cli-mate)[ RSS](/packages/smasty-cli-mate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CLImate.php - Your mate for PHP CLI apps.
=========================================

[](#climatephp---your-mate-for-php-cli-apps)

### Early development stage

[](#early-development-stage)

[![Build Status](https://camo.githubusercontent.com/6c2e6a30af4418957711d2e06514a2154f509f4f837b48b8f87601caa88038b9/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f736d617374792f434c496d6174652e7068702e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/smasty/CLImate.php)

Implemented features
--------------------

[](#implemented-features)

### Input/Output

[](#inputoutput)

- Reading from standard input, as well as writing to standard output and error.
- Methods for prompting for questions, choosing from choices `[y/n/?]` and menus.
- Support for rendering tables (with sorting, custom row formats, etc).
- Colorized output support

### Argument handling (draft)

[](#argument-handling-draft)

Class for parsing all types of command-line arguments.

### Notifiers

[](#notifiers)

Various notifiers:

- Spinner - `-\|/`
- Dots - `Loading...`
- Progress bar - `[===>   ]`

Yet to be implemented
---------------------

[](#yet-to-be-implemented)

- Finish argument handling
- Command-line applications infrastructure

The MIT License
---------------

[](#the-mit-license)

Copyright (c) 2012 Smasty,

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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/e41f0a139d5e41a234b016a4484d9758828a67a4d84ba86657dc56ec030253d3?d=identicon)[smasty](/maintainers/smasty)

---

Top Contributors

[![smasty](https://avatars.githubusercontent.com/u/218524?v=4)](https://github.com/smasty "smasty (81 commits)")

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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