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

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

jfitz/rcon
==========

Source RCON protocol library for PHP 7

1.1(4y ago)157MITPHP

Since Jun 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/JacobFitzpatrick-dev/RCON)[ Packagist](https://packagist.org/packages/jfitz/rcon)[ RSS](/packages/jfitz-rcon/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

RCON
====

[](#rcon)

RCON is a protocol used by source dedicated servers, which allows console commands to be issued to the server via a "remote console". This library allows for remote execution of game server commands via RCON using PHP 7.

Game servers that support RCON include (but are not limited to):

- Arma 3
- Garry's Mod
- 7 Days To Die
- Minecraft (Java Edition)
- Rust
- Squad
- ARK: Survival Evolved

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

[](#installation)

Install using composer:

`composer require jfitz/rcon`

Usage
-----

[](#usage)

```
# Create new socket
$socket = new \Jfitz\Rcon\Socket('127.0.0.1', 'Password123', 25565, 30);

# Check connection
if ($socket->isConnected()) {

    # Execute a command
    $socket->execute('/say Hello World!');
}
```

Contribution
------------

[](#contribution)

I welcome contribution to all my repositories, but please note the following rules:

- Code must follow PSR coding standards
- Commit messages must follow standards (see bellow)

### Commit Messages

[](#commit-messages)

Any contributions must follow the commit message standard as shown bellow.

```
Summary of the change

WHAT / WHY: Description of what the change is and why its being done

HOW: Description of how this commit applies to the change

Issue number (if applicable)

```

Example Commit:

```
Implement support for multi-packet responses

When the response packet exceeds 4096 characters it gets split into multiple packets, we need to add support for this so responses don't get truncated

This commit adds support for multi-packet responses by adding a loop in the execute method that will continue to read packets until the end of the response is found

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~0 days

Total

2

Last Release

1793d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/780c761e3f0522b0200da41fd247e494ecfd4c745bb50517b8f15828628fd1b0?d=identicon)[JacobFitzp](/maintainers/JacobFitzp)

---

Top Contributors

[![JacobFitzp](https://avatars.githubusercontent.com/u/34043417?v=4)](https://github.com/JacobFitzp "JacobFitzp (6 commits)")

---

Tags

gamesgarrys-modgmodminecraftrconrcon-clientrcon-consolercon-protocolrcon-serverrust

### Embed Badge

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

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

###  Alternatives

[netzmacht/contao-leaflet-maps

Contao Leaflet maps integration

1111.0k1](/packages/netzmacht-contao-leaflet-maps)

PHPackages © 2026

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