PHPackages                             gries/rcon - 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. gries/rcon

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

gries/rcon
==========

PHP RCON Client

0.0.3(10y ago)77381MITPHP

Since Dec 12Pushed 10y ago4 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

RCON
====

[](#rcon)

This is a simple RCON-Client for php.

[![SensioLabsInsight](https://camo.githubusercontent.com/71556bc396efefed2ddf57c6420d7774103f8374005f6a7452c7f47e71abbc81/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34396236623262342d303661362d343063332d616633662d6139323165373930653063362f6269672e706e67)](https://insight.sensiolabs.com/projects/49b6b2b4-06a6-40c3-af3f-a921e790e0c6)

[![Build Status](https://camo.githubusercontent.com/f13f996021e1ce4be59919ca310eff827b0cf13e7e1cf1d82c4d1dfb3e62b57e/68747470733a2f2f7472617669732d63692e6f72672f67726965732f72636f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/gries/rcon)[![Code Quality](https://camo.githubusercontent.com/2185e3e86e45d85490f507f736c10b9c51812c9be44f53a8920c147f8e5d2fca/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67726965732f72636f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gries/rcon/)

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

[](#installation)

RCON can be installed via. Composer:

```
composer require "gries/rcon"

```

Usage
-----

[](#usage)

```
use gries\Rcon\MessengerFactory;
use gries\Rcon\Messenger;

require_once __DIR__.'/vendor/autoload.php';

// setup the messenger
$messenger = MessengerFactory::create('example.com', 25575, 'mypass');

// send a simple message
$response = $messenger->send('list');
echo $response; // a,b,c

// send a message and parse the command via. a callable
$response = $messenger->send('list', function($arg) {
    return explode(',', $arg);
});
print_r($response); // ['a', 'b', 'c']
```

Running the tests
-----------------

[](#running-the-tests)

```
vendor/bin/phpspec run

```

Contribute!
-----------

[](#contribute)

Feel free to give me feedback/feature-request/bug-reports via. github issues. Or just send me a pull-request :)

Author
------

[](#author)

- [Christoph Rosse](http://twitter.com/griesx)

License
-------

[](#license)

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97% 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 ~88 days

Total

3

Last Release

3998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db7c27a0fae43ee96bc83d30f0801bfcb2033cd403f013fa8a5795ba7c846672?d=identicon)[gries](/maintainers/gries)

---

Top Contributors

[![gries](https://avatars.githubusercontent.com/u/417823?v=4)](https://github.com/gries "gries (32 commits)")[![dermario](https://avatars.githubusercontent.com/u/8972530?v=4)](https://github.com/dermario "dermario (1 commits)")

---

Tags

rcon

### Embed Badge

![Health badge](/badges/gries-rcon/health.svg)

```
[![Health](https://phpackages.com/badges/gries-rcon/health.svg)](https://phpackages.com/packages/gries-rcon)
```

###  Alternatives

[xenolope/quahog

A PHP client library for ClamAV clamd daemon

867.4M24](/packages/xenolope-quahog)[thedudeguy/rcon

Simple Rcon class for php.

16259.4k1](/packages/thedudeguy-rcon)[graze/telnet-client

Telnet client written in PHP

50233.9k4](/packages/graze-telnet-client)[zoon/rialto

Manage Node resources from PHP

12199.4k3](/packages/zoon-rialto)

PHPackages © 2026

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