PHPackages                             onesimus-systems/osreadline - 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. onesimus-systems/osreadline

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

onesimus-systems/osreadline
===========================

216PHP

Since Jun 14Pushed 10y agoCompare

[ Source](https://github.com/onesimus-systems/osreadline)[ Packagist](https://packagist.org/packages/onesimus-systems/osreadline)[ RSS](/packages/onesimus-systems-osreadline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

OSReadLine
----------

[](#osreadline)

OSReadLine (OS for Onesimus Systems) is a readline alternative for PHP. It fully supports unicode characters and implements the basic readline functionality such as history, line editing, and key mapping.

Example:

```
include 'readline.php';

$readline = new onesimus\readline\Readline();
$line = $readline->readLine('prompt> ');
echo $line;
```

Installation
------------

[](#installation)

You can install OSReadLine by cloning this git repo, or with composer.

Composer:

```
{
    "require": {
        "onesimus-systems/osreadline": "dev-master"
    }
}
```

Credits
-------

[](#credits)

Inspiration and help was taken from the readline implementation in the [Hoa\\Console library](https://github.com/hoaproject/Console).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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/8b0c8b2c3cadee570c224131bb905fcd14df14a41d0100796509d6a9df402618?d=identicon)[dragonrider23](/maintainers/dragonrider23)

---

Top Contributors

[![lfkeitel](https://avatars.githubusercontent.com/u/6619743?v=4)](https://github.com/lfkeitel "lfkeitel (4 commits)")[![DragonRider23](https://avatars.githubusercontent.com/u/61299877?v=4)](https://github.com/DragonRider23 "DragonRider23 (1 commits)")

### Embed Badge

![Health badge](/badges/onesimus-systems-osreadline/health.svg)

```
[![Health](https://phpackages.com/badges/onesimus-systems-osreadline/health.svg)](https://phpackages.com/packages/onesimus-systems-osreadline)
```

###  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)
