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

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

microwin7/rcon
==============

Simple Rcon class for php.

v1.1.0(2y ago)13771MITPHP

Since May 25Pushed 2y agoCompare

[ Source](https://github.com/microwin7/PHP-Minecraft-Rcon)[ Packagist](https://packagist.org/packages/microwin7/rcon)[ Docs](https://github.com/thedudeguy/PHP-Minecraft-Rcon)[ RSS](/packages/microwin7-rcon/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (1)

PHP-Minecraft-Rcon
==================

[](#php-minecraft-rcon)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/05ebd997509d30b8fb702998af6127cdc17a3c3907286321c2867925c2845c1f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746865647564656775792f5048502d4d696e6563726166742d52636f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/thedudeguy/PHP-Minecraft-Rcon/?branch=master)

Simple Rcon class for php.

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

[](#installation)

### Using Composer

[](#using-composer)

This Rcon library may be installed by issuing the following command:

```
$ composer require thedudeguy/rcon
```

### Not Using Composer

[](#not-using-composer)

If not using Composer, just place the Rcon.php file in your project and include it in your PHP script:

```
require_once('Rcon.php');
```

Example
-------

[](#example)

For this script to work, rcon must be enabled on the server, by setting `enable-rcon=true` in the server's `server.properties` file. A password must also be set, and provided in the script.

```
$host = 'some.minecraftserver.com'; // Server host name or IP
$port = 25575;                      // Port rcon is listening on
$password = 'server-rcon-password'; // rcon.password setting set in server.properties
$timeout = 3;                       // How long to timeout.

use Thedudeguy\Rcon;

$rcon = new Rcon($host, $port, $password, $timeout);

if ($rcon->connect())
{
  $rcon->sendCommand("say Hello World!");
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% 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 ~2250 days

Total

2

Last Release

1029d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05d04a9a323501bc4f6108b841679428d1ea31cba352f4ffc234158bc4dac3b1?d=identicon)[microwin7](/maintainers/microwin7)

---

Top Contributors

[![thedudeguy](https://avatars.githubusercontent.com/u/926132?v=4)](https://github.com/thedudeguy "thedudeguy (27 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (3 commits)")[![ricardoboss](https://avatars.githubusercontent.com/u/6266356?v=4)](https://github.com/ricardoboss "ricardoboss (3 commits)")[![metroyanno](https://avatars.githubusercontent.com/u/12733387?v=4)](https://github.com/metroyanno "metroyanno (1 commits)")[![microwin7](https://avatars.githubusercontent.com/u/12544425?v=4)](https://github.com/microwin7 "microwin7 (1 commits)")[![fwahlberg](https://avatars.githubusercontent.com/u/18613114?v=4)](https://github.com/fwahlberg "fwahlberg (1 commits)")[![Wruczek](https://avatars.githubusercontent.com/u/7156344?v=4)](https://github.com/Wruczek "Wruczek (1 commits)")[![ImmanuelNL](https://avatars.githubusercontent.com/u/25136687?v=4)](https://github.com/ImmanuelNL "ImmanuelNL (1 commits)")[![kriation](https://avatars.githubusercontent.com/u/411916?v=4)](https://github.com/kriation "kriation (1 commits)")

---

Tags

minecraftrcon

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/microwin7-rcon/health.svg)](https://phpackages.com/packages/microwin7-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)[spirit55555/php-minecraft

Useful PHP classes for Minecraft

6823.6k](/packages/spirit55555-php-minecraft)

PHPackages © 2026

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