PHPackages                             1happyplace/clio - 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. 1happyplace/clio

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

1happyplace/clio
================

Seriously level-up the user interface of your PHP CLI programs.

v2.3.1(4y ago)215.1kMITPHPCI passing

Since Aug 19Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/1HappyPlace/clio)[ Packagist](https://packagist.org/packages/1happyplace/clio)[ Docs](http://clio.1happyplace.com/clio/clio.html)[ RSS](/packages/1happyplace-clio/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

\#Clio

Developing a quick and clear user interface for PHP command line programs can be difficult. And yet, command line programming can be useful, particularly with non-public facing software that you need to spin up.

Clio was created to help in development of usable PHP command line interface (CLI) programs. Although there are no graphic capabilities for the command line, there are some things working in our favor. Monospaced fonts line up nicely and can be used to present data in a succinct way. For some terminal emulators (PHPStorm for one), you can use the full 24 bit RGB coloring, also making for interesting options.

The Clio project begins with the [Clio Class](http://clio.1happyplace.com/clio/clio.html), the heart and soul of the architecture. In fact, you can just use Clio and be on your way if your needs aren't complicated. It is easy to send out text to the terminal, occasionally bold or underscore text and use a set of colors to highlight information.

If you wish to get more complex, there are a set of classes that support that allow for easy styling. Namely:

- [Color Class](http://clio.1happyplace.com/clio/color.html) - allows you to select a color, and depending on your terminal's color capability, the class will automatically command the terminal to show the closest color available.
- [Style Class](http://clio.1happyplace.com/clio/style.html) - allows you to create a style, that is a combination of bolding and underscoring and the text and fill colors, allowing for consistent styling.
- [Paragraph Class](http://clio.1happyplace.com/clio/style.html) - create a class to style and display all paragraphs consistently
- [Title Class](http://clio.1happyplace.com/clio/style.html) - create a class to style and display all headings consistently
- [Menu Class](http://clio.1happyplace.com/clio/style.html) - use a fast and intuitive menuing system
- [Paragraph Class](http://clio.1happyplace.com/clio/style.html) - create a class to style and display all paragraphs consistently
- [Lists Class](http://clio.1happyplace.com/clio/style.html) - display ordered and unordered lists
- [Table Class](http://clio.1happyplace.com/clio/style.html) - create tables for easy data display

**Be sure to read [Getting Started with Clio](http:clio.1happyplace.com/getting-started/clio.html)** and running the **[Demo](https://github.com/1HappyPlace/Clio-demo)**!

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance54

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~232 days

Recently: every ~420 days

Total

10

Last Release

1463d ago

Major Versions

v0.5.2-beta → v1.02016-09-14

v1.1 → v2.02018-03-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/2673ea2147720988b45a2ccd07d154e063b2ad1c5a5820521319d4a27c7aebc1?d=identicon)[1happyplace](/maintainers/1happyplace)

---

Top Contributors

[![1HappyPlace](https://avatars.githubusercontent.com/u/7793595?v=4)](https://github.com/1HappyPlace "1HappyPlace (19 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

terminalansibashemulator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/1happyplace-clio/health.svg)

```
[![Health](https://phpackages.com/badges/1happyplace-clio/health.svg)](https://phpackages.com/packages/1happyplace-clio)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[league/climate

PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.

1.9k14.0M273](/packages/league-climate)[clue/term-react

Streaming terminal emulator, built on top of ReactPHP.

10410.2M2](/packages/clue-term-react)[titasgailius/terminal

Terminal is an Elegent wrapper around Symfony's Process component.

512340.9k11](/packages/titasgailius-terminal)[php-school/cli-menu

A command line menu helper in PHP

2.0k1.1M27](/packages/php-school-cli-menu)[bvanhoekelen/terminal-style

Return your terminal message in style! Change the text style, text color and text background color form the terminal interface with ANSI color codes. The terminal style tool support Laravel and Composer.

19784.4k2](/packages/bvanhoekelen-terminal-style)

PHPackages © 2026

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