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 today

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 13% 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

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

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