PHPackages                             clue/readline-react - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. clue/readline-react

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

clue/readline-react
===================

Experimental bindings for the readline extension (ext-readline)

63631PHP

Since Jan 29Pushed 9y ago6 watchersCompare

[ Source](https://github.com/clue/php-readline-react)[ Packagist](https://packagist.org/packages/clue/readline-react)[ RSS](/packages/clue-readline-react/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (1)

clue/readline-react [![Build Status](https://camo.githubusercontent.com/30cc6e95ffb38b05448a22e3d133cec56807480cd3988e70e09e112af56687c7/68747470733a2f2f7472617669732d63692e6f72672f636c75652f7068702d726561646c696e652d72656163742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/clue/php-readline-react)
========================================================================================================================================================================================================================================================================================================================

[](#cluereadline-react-)

Experimental bindings for the readline extension (ext-readline)

> Note: This project is in early alpha stage! Feel free to report any issues you encounter.

Quickstart example
------------------

[](#quickstart-example)

Once [installed](#install), you can use the following code to present a prompt in a CLI program:

```
$readline = new Readline($loop, 'demo > ');

$readline->on('line', function ($line) use ($readline) {
    var_dump($line);

    if ($line === 'quit' || $line === 'exit') {
        $readline->pause();
    }
});
```

See also the [examples](examples).

Install
-------

[](#install)

The recommended way to install this library is [through composer](https://getcomposer.org). [New to composer?](https://getcomposer.org/doc/00-intro.md)

```
{
    "require": {
        "clue/readline-react": "dev-master"
    }
}
```

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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/776829?v=4)[Christian Lück](/maintainers/clue)[@clue](https://github.com/clue)

---

Top Contributors

[![clue](https://avatars.githubusercontent.com/u/776829?v=4)](https://github.com/clue "clue (12 commits)")[![davidwdan](https://avatars.githubusercontent.com/u/4969183?v=4)](https://github.com/davidwdan "davidwdan (1 commits)")

### Embed Badge

![Health badge](/badges/clue-readline-react/health.svg)

```
[![Health](https://phpackages.com/badges/clue-readline-react/health.svg)](https://phpackages.com/packages/clue-readline-react)
```

###  Alternatives

[jajuma/awesomehyva

This Magento 2 extension allows using Font Awesome 5 icons with Hyvä Themes

1349.1k](/packages/jajuma-awesomehyva)[lav45/yii2-settings

This extension helps you to easily store and retrieve data for your application.

1615.0k2](/packages/lav45-yii2-settings)

PHPackages © 2026

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