PHPackages                             sunxyw/minecraft-protocol - 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. sunxyw/minecraft-protocol

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

sunxyw/minecraft-protocol
=========================

v1.2.0(4y ago)253[1 issues](https://github.com/sunxyw/minecraft-protocol/issues)MITPHP

Since Mar 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sunxyw/minecraft-protocol)[ Packagist](https://packagist.org/packages/sunxyw/minecraft-protocol)[ Docs](https://github.com/sunxyw/minecraft-protocol)[ RSS](/packages/sunxyw-minecraft-protocol/feed)WikiDiscussions main Synced today

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

MinecraftProtocol
=================

[](#minecraftprotocol)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d848813388bdea54caca62537c2c5c9f3bd8bcdb4de1fc93ceeeea845974dd06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73756e7879772f6d696e6563726166742d70726f746f636f6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sunxyw/minecraft-protocol)[![Total Downloads](https://camo.githubusercontent.com/977312ff78af75ba8dacb1562f118463b3a43249950bed4757a3aab382b522bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73756e7879772f6d696e6563726166742d70726f746f636f6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sunxyw/minecraft-protocol)

This package provides a simple way to communicate with the Minecraft server.

Supported driver:

- RCON (RemoteConsoleDriver)

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

[](#installation)

Via Composer

```
$ composer require sunxyw/minecraft-protocol
```

Usage
-----

[](#usage)

If you are using Laravel, please use the `MinecraftProtocol` facade directly. You should also publish the configuration by running `php artisan vendor:publish --provider="Sunxyw\MinecraftProtocol\MinecraftProtocolServiceProvider"`. Your connection info can be found in `config/minecraft-protocol.php`.

Otherwise, please use the specified driver class, you might want to maintain a singleton instance of it by yourself. You will need to pass the host, port and password to the constructor.

For methods, please refer to the [DriverInterface](src/Drivers/DriverInterface.php).

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](CONTRIBUTING.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [sunxyw](https://github.com/sunxyw)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](LICENSE) for more information.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

1569d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0074b4d8ef244d2d516e67fe7949e287b37eeee02d4adfa0da953077bf7e0121?d=identicon)[sunxyw](/maintainers/sunxyw)

---

Top Contributors

[![sunxyw](https://avatars.githubusercontent.com/u/31698606?v=4)](https://github.com/sunxyw "sunxyw (42 commits)")

---

Tags

helperlaravellaravel-packagelaravel9minecraftpackagephpphp8protocolutilslaravelprotocolminecraft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sunxyw-minecraft-protocol/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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