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 11y 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 today

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://avatars.githubusercontent.com/u/61299877?v=4)[dragonrider23](/maintainers/dragonrider23)[@DragonRider23](https://github.com/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

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