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

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

stilling/minecraft-rcon
=======================

Lightweight Minecraft RCON client supporting multi-packet responses.

v0.2.0(2w ago)09MITPHPPHP ^8.3CI passing

Since Aug 29Pushed 4mo agoCompare

[ Source](https://github.com/m-stilling/minecraft-rcon-php)[ Packagist](https://packagist.org/packages/stilling/minecraft-rcon)[ RSS](/packages/stilling-minecraft-rcon/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Minecraft RCON Client
=====================

[](#minecraft-rcon-client)

[![tests](https://github.com/m-stilling/minecraft-rcon-php/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/m-stilling/minecraft-rcon-php/actions/workflows/tests.yml) [![Packagist Version](https://camo.githubusercontent.com/87aa3d9f881511d91d361152379b52e3696adba372d5b16fc17d9d0f7addaea5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374696c6c696e672f6d696e6563726166742d72636f6e)](https://packagist.org/packages/stilling/minecraft-rcon)

Lightweight Minecraft RCON client supporting multi-packet responses. Based on [PHP-Minecraft-Rcon](https://github.com/thedudeguy/PHP-Minecraft-Rcon) by [thedudeguy](https://github.com/thedudeguy).

```
composer require stilling/minecraft-rcon

```

```
use Stilling\MinecraftRcon\Rcon;

$rcon = new Rcon(
    "mc.example.com",
    "25565",
    "super-secret-password",
);
$rcon->connect();
$response = $rcon->sendCommand("data get entity @e[limit=1]");

var_dump($response);
// string(792) "Pig has the following entity data: {variant: "minecraft:temperate", DeathTime: 0s, OnGround: 1b, LeftHanded: 0b, AbsorptionAmount: 0.0f, Invulnerable: 0b, Brain: {memories: {}}, Age: 0, Rotation: [225.00148f, 0.0f], HurtByTimestamp: 0, attributes: [{modifiers: [{amount: 0.05006394748174687d, operation: "add_multiplied_base", id: "minecraft:random_spawn_bonus"}], base: 16.0d, id: "minecraft:follow_range"}, {base: 0.25d, id: "minecraft:movement_speed"}], ForcedAge: 0, fall_distance: 0.0d, Air: 300s, UUID: [I; 2036213014, 1672495779, -2115405465, 2041861210], Fire: 0s, Motion: [0.0d, -0.0784000015258789d, 0.0d], Pos: [-128.75220754374612d, 71.0d, -69.24781649456469d], Health: 10.0f, CanPickUpLoot: 0b, HurtTime: 0s, FallFlying: 0b, PersistenceRequired: 0b, InLove: 0, PortalCooldown: 0}"

$rcon->disconnect();
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance67

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Total

3

Last Release

19d ago

PHP version history (2 changes)v0.1.0PHP ^8.3|^8.4

v0.2.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![m-stilling](https://avatars.githubusercontent.com/u/5173683?v=4)](https://github.com/m-stilling "m-stilling (9 commits)")

---

Tags

minecraftrconminecraftrcon

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[thedudeguy/rcon

Simple Rcon class for php.

16164.1k1](/packages/thedudeguy-rcon)[xpaw/php-minecraft-query

PHP library to query Minecraft servers

747107.4k3](/packages/xpaw-php-minecraft-query)[spirit55555/php-minecraft

Useful PHP classes for Minecraft

6826.2k](/packages/spirit55555-php-minecraft)[d3strukt0r/votifier-client

Simple Tool to send vote request to a server which has the Votifier plugin.

1624.5k](/packages/d3strukt0r-votifier-client)

PHPackages © 2026

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