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

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

vovsi/minecraft-rcon
====================

Library with RCON commands for Minecraft server.

1.0.4(10mo ago)14MITPHPPHP ^8.4

Since Jul 6Pushed 9mo agoCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

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

[](#minecraft-rcon-php-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d99acca19c369660b2f825108cf6d60c61821a97cff00b0afa5d7aca5bd73889/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766f7673692f6d696e6563726166742d72636f6e2e737667)](https://packagist.org/packages/vovsi/minecraft-rcon)

A lightweight PHP client around an existing Minecraft RCON client, enriched with high-level **resource classes** for common in-game actions.

This package is designed to provide a **clean, structured** interface for executing RCON commands on a Minecraft server using PHP.

Requirements
------------

[](#requirements)

This package requires:

- PHP **8.4** or higher
- Minecraft server with RCON enabled
- Composer

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

[](#installation)

Install via Composer:

```
composer require vovsi/minecraft-rcon
```

Example Usage
-------------

[](#example-usage)

```
use Vovsi\MinecraftRcon\Rcon;
use Vovsi\MinecraftRcon\resources\ItemResource;
use Vovsi\MinecraftRcon\dto\item\GiveDto;

$rcon = new Rcon('127.0.0.1', 25575, 'supersecret');
$itemResource = new ItemResource($rcon);

$dto = new GiveDto(
    username: 'Notch',
    item: 'diamond',
    amount: 64
);

$itemResource->give($dto);
```

Resource Structure
------------------

[](#resource-structure)

All logic is grouped by resources (src/resources), each encapsulating commands related to a specific domain (items, players, server control, etc.).

License
-------

[](#license)

MIT – drop some diamonds, not licenses 💎

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance55

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

5

Last Release

306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/654c5b67a9f18c339a63b539b114ec8a569e15617a6a6cc055bfa875d3c2f390?d=identicon)[vovsi](/maintainers/vovsi)

---

Top Contributors

[![vovsi](https://avatars.githubusercontent.com/u/42994166?v=4)](https://github.com/vovsi "vovsi (11 commits)")

---

Tags

minecraftrcon

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[thedudeguy/rcon

Simple Rcon class for php.

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

PHP library to query Minecraft servers

74299.8k3](/packages/xpaw-php-minecraft-query)[xpaw/php-source-query-class

PHP library to query and send RCON commands to servers based on "Source Engine Query" protocol

610189.9k7](/packages/xpaw-php-source-query-class)

PHPackages © 2026

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