PHPackages                             gries/minecraft-commander - 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. gries/minecraft-commander

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

gries/minecraft-commander
=========================

PHP Mincraft-Server client

0.0.1(11y ago)4291MITPHP

Since Dec 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/gries/minecraft-commander)[ Packagist](https://packagist.org/packages/gries/minecraft-commander)[ RSS](/packages/gries-minecraft-commander/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

minecraft-commander
===================

[](#minecraft-commander)

This is a library to send commands () to a minecraft-server and parse their output.

[![SensioLabsInsight](https://camo.githubusercontent.com/55786009211042ef9c36642c638e08320f212816c09c56a0d7ed4bb189baf1e8/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31343832663163322d396637312d346234632d386262392d3062366538323234393639652f6269672e706e67)](https://insight.sensiolabs.com/projects/1482f1c2-9f71-4b4c-8bb9-0b6e8224969e)

[![Build Status](https://camo.githubusercontent.com/041083a5e0c02a5a0642022fc52d6ffe4f9e3d09ebe641180ca4e240c05a6249/68747470733a2f2f7472617669732d63692e6f72672f67726965732f6d696e6563726166742d636f6d6d616e6465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/gries/rcon)

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

[](#installation)

minecraft-commander can be installed via. Composer:

```
composer require "gries/minecraft-commands"

```

Basic usage
-----------

[](#basic-usage)

```
use gries\Minecraft\Commander\CommanderFactory;

require_once __DIR__ . '/../vendor/autoload.php';

// create a Commander
$commander = CommanderFactory::create('example.com', 25575, 'mypass');

// set the server-time
$commander->setTime('12000');

// listPlayers
$players = $commander->listPlayers();

print_r($players);

echo $commander->raw('seed');
```

Currently these Commands are available for the Commander
--------------------------------------------------------

[](#currently-these-commands-are-available-for-the-commander)

- say
- listPlayers
- locatePlayer
- teleport
- give
- setWeather
- setTime
- setBlock
- raw

Running the tests
-----------------

[](#running-the-tests)

```
bin/phpspec run

```

Contribute!
-----------

[](#contribute)

Feel free to give me feedback/feature-request/bug-reports via. github issues. Or just send me a pull-request :)

Author
------

[](#author)

- [Christoph Rosse](http://twitter.com/griesx)

License
-------

[](#license)

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

4219d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db7c27a0fae43ee96bc83d30f0801bfcb2033cd403f013fa8a5795ba7c846672?d=identicon)[gries](/maintainers/gries)

---

Top Contributors

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

---

Tags

minecraftcommandsrcon

### Embed Badge

![Health badge](/badges/gries-minecraft-commander/health.svg)

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

###  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)[neronmoon/scriptsdev

Scripts-dev behaviour for Composer

691.5M44](/packages/neronmoon-scriptsdev)[bpocallaghan/generators

Custom Laravel File Generators with config and publishable stubs.

12068.0k3](/packages/bpocallaghan-generators)[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)
