PHPackages                             nfauchelle/phergie-keep-alive - 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. nfauchelle/phergie-keep-alive

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

nfauchelle/phergie-keep-alive
=============================

Phergie plugin which monitors when the last activity on a connection was and if it exceeds a certain time limit the connection is closed and re-created

v1.0.0(11y ago)122[2 issues](https://github.com/nfauchelle/PhergieKeepAlive/issues)[1 PRs](https://github.com/nfauchelle/PhergieKeepAlive/pulls)BSD-2-ClausePHP

Since Feb 25Pushed 11y ago1 watchersCompare

[ Source](https://github.com/nfauchelle/PhergieKeepAlive)[ Packagist](https://packagist.org/packages/nfauchelle/phergie-keep-alive)[ RSS](/packages/nfauchelle-phergie-keep-alive/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

PhergieKeepAlive
================

[](#phergiekeepalive)

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin which monitors a connection for in-activity, and if the timeout is reached then it will attempt to reconnect.

[![Build Status](https://camo.githubusercontent.com/d6d9af2ca20f20cd642d42c3ea6ec4b65f201aa7c6403c000d462e8c43a24c4d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6e6661756368656c6c652f506865726769654b656570416c6976652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/nfauchelle/PhergieKeepAlive)

Install
-------

[](#install)

The recommended method of installation is [through composer](http://getcomposer.org).

```
{
    "require": {
        "nfauchelle/phergie-keep-alive": "~1.0.0"
    }
}
```

or use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require nfauchelle/phergie-keep-alive

```

See Phergie documentation for more information on [installing and enabling plugins](https://github.com/phergie/phergie-irc-bot-react/wiki/Usage#plugins).

Configuration
-------------

[](#configuration)

```
new \Phergie\Irc\Plugin\React\KeepAlive\Plugin(array(
    // Seconds of inactivity before attmping reconnect
    'timeout' => 600,
    // Quit message on reconnect
    'quitMessage' => 'Ping timeout, reconnecting...'
))
```

Tests
-----

[](#tests)

To run the unit test suite:

```
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

```

License
-------

[](#license)

Released under the BSD License. See `LICENSE`.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4146d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1188162?v=4)[Nick](/maintainers/nfauchelle)[@nfauchelle](https://github.com/nfauchelle)

---

Top Contributors

[![nfauchelle](https://avatars.githubusercontent.com/u/1188162?v=4)](https://github.com/nfauchelle "nfauchelle (12 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (1 commits)")

---

Tags

pluginbotircphergie

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nfauchelle-phergie-keep-alive/health.svg)

```
[![Health](https://phpackages.com/badges/nfauchelle-phergie-keep-alive/health.svg)](https://phpackages.com/packages/nfauchelle-phergie-keep-alive)
```

PHPackages © 2026

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