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

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

knik/g-rcon
===========

RCON Library for game servers management

0.7.0(5y ago)43.6k3[1 issues](https://github.com/et-nik/g-rcon/issues)1MITPHPPHP &gt;=7.3CI failing

Since May 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/et-nik/g-rcon)[ Packagist](https://packagist.org/packages/knik/g-rcon)[ RSS](/packages/knik-g-rcon/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (13)Used By (1)

GRcon is a PHP library for manage game servers and services using RCON protocol.

Supported protocols
-------------------

[](#supported-protocols)

- Source (CS Global Offensive, Team Fortress 2, Black Mesa)
- GoldSource (CS 1.6, Half-Life game servers, etc.)
- Minecraft
- TeamSpeak 3
- SAMP (GTA San-Andreas Multiplayer)
- Rust

### Comming soon

[](#comming-soon)

- Arma

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

[](#installation)

```
composer require knik/g-rcon --no-dev
```

Examples
--------

[](#examples)

### EasyGRcon

[](#easygrcon)

EasyGRcon is more simpler then GRcon

```
include "../vendor/autoload.php";

use Knik\GRcon\EasyGRcon;

$rcon = new EasyGRcon('source', [
    'host' => '127.0.0.1',
    'port' => 27015,
    'password' => 'rC0nPaS$word'
]);

$rcon->execute('changelevel de_dust2');
$rcon->execute('kick player');
```

### GRcon

[](#grcon)

GRcon is more flexible and configurable

```
use Knik\GRcon\GRcon;
use Knik\GRcon\Protocols\SourceAdapter;

$adapter = new SourceAdapter([
    'host' => '127.0.0.1',
    'port' => 27015,
    'password' => 'rC0nPaS$word',
]);

$rcon = new GRcon($adapter);

$rcon->execute('changelevel de_dust2');
$rcon->execute('kick player');
```

### Players manage

[](#players-manage)

```
$rcon->kick('playername');
$rcon->ban('player');
```

### Chat

[](#chat)

```
$rcon->sendMessage('Hello players!');
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~27 days

Recently: every ~68 days

Total

12

Last Release

1951d ago

PHP version history (2 changes)0.1PHP &gt;=7.2

0.7.0PHP &gt;=7.3

### Community

Maintainers

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

---

Top Contributors

[![et-nik](https://avatars.githubusercontent.com/u/3670640?v=4)](https://github.com/et-nik "et-nik (17 commits)")

---

Tags

counter-strikehalf-liferconrcon-clientrcon-protocolsampteamspeak3teamspeakrconcounter-strikeSAMPhalf-life

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[phpseclib/phpseclib2_compat

phpseclib 2.0 polyfill built with phpseclib 3.0

132.1M17](/packages/phpseclib-phpseclib2-compat)[thedudeguy/rcon

Simple Rcon class for php.

16164.1k1](/packages/thedudeguy-rcon)[shopware/app-php-sdk

Shopware App SDK for PHP

15109.8k3](/packages/shopware-app-php-sdk)[ycodetech/valet-windows

A more enjoyable local development experience for Windows. A Windows port of the popular Laravel Valet and a fork of cretueusebiu/valet-windows, with new features.

451.7k](/packages/ycodetech-valet-windows)

PHPackages © 2026

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