PHPackages                             ok236449/minecraftserverstatus - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. ok236449/minecraftserverstatus

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

ok236449/minecraftserverstatus
==============================

Minecraft Server Status Query, written in PHP, with online players, motd, favicon and more server related informations without plugins and enable-query.

1.0.0(10y ago)011BSDPHP

Since Mar 25Pushed 4y agoCompare

[ Source](https://github.com/ok236449/PHP-Minecraft-Server-Status-Query)[ Packagist](https://packagist.org/packages/ok236449/minecraftserverstatus)[ RSS](/packages/ok236449-minecraftserverstatus/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

This is just a fork!
====================

[](#this-is-just-a-fork)

I am not the author of this code, I am just keeping it updated for my personal use. Please have a look at the original author.

Minecraft Server Status Query \[Discontinued\]
==============================================

[](#minecraft-server-status-query-discontinued)

[![Latest Stable Version](https://camo.githubusercontent.com/6b6c475e4dd4997476ba082dcbe1b8b688071548501e767a2e1bdc65a327271d/68747470733a2f2f706f7365722e707567782e6f72672f66756e6e79697473656c6d6f2f6d696e6563726166747365727665727374617475732f762f737461626c65)](https://packagist.org/packages/funnyitselmo/minecraftserverstatus) [![Total Downloads](https://camo.githubusercontent.com/8f54a552fce1bf5dc4e7a3b7fc09c51db0e88a7e9a09c3281724aadf532f1200/68747470733a2f2f706f7365722e707567782e6f72672f66756e6e79697473656c6d6f2f6d696e6563726166747365727665727374617475732f646f776e6c6f616473)](https://packagist.org/packages/funnyitselmo/minecraftserverstatus) [![Latest Unstable Version](https://camo.githubusercontent.com/55d2457d6084b50c097ca06be8f6e01836678f695e363a65b2fff398f96ad95c/68747470733a2f2f706f7365722e707567782e6f72672f66756e6e79697473656c6d6f2f6d696e6563726166747365727665727374617475732f762f756e737461626c65)](https://packagist.org/packages/funnyitselmo/minecraftserverstatus) [![License](https://camo.githubusercontent.com/1af310e655f7ce5ab45348d69721dfaae9c3183cbf98e79b4c5c4d2c55cda614/68747470733a2f2f706f7365722e707567782e6f72672f66756e6e79697473656c6d6f2f6d696e6563726166747365727665727374617475732f6c6963656e7365)](https://packagist.org/packages/funnyitselmo/minecraftserverstatus)

Minecraft Server Status Query, written in PHP, with online players, motd, favicon and more server related informations without plugins and enable-query.

*Tested with Spigot 1.9 and Bungeecord 1.9 &amp; 1.8*

### Installation

[](#installation)

```
composer require ok236449/minecraftserverstatus

```

### Tutorial

[](#tutorial)

```
use MinecraftServerStatus\MinecraftServerStatus;

require '../vendor/autoload.php';

$response = MinecraftServerStatus::query('lostforce.com', 25565);

if (! $response) {
    echo "The Server is offline!";
} else {
    echo "
		The Server " . $response['hostname'] . " is running on " . $response['version'] . " and is online,
		currently are " . $response['players'] . " players online
		of a maximum of " . $response['max_players'] . ". The motd of the server is '" . $response['description'] . "'.
		The server has a ping of " . $response['ping'] . " milliseconds.";

    if($response['player_list'])
    echo 'Connected players:';
    {
        foreach($response['player_list'] as $player)
        {
    	    echo $player . '';
	}
    }
}
```

If the server is offline MinecraftServerStatus::query returns false else it returns an array which contains the server informations.

### Variables

[](#variables)

The following table contains the available variables the response can contain. The default value of each variable is false.

Array IndexDescription```
'hostname'
```

Exact server address in 127.0.0.1 format```
'port'
```

The servers port for example 25565```
'ping'
```

The time in ms the server needs to answer```
'version'
```

The server version
(for example: 1.9)```
'protocol'
```

The server protocol
(for example: 107)```
'players'
```

Amount of players who are currently online```
'max_players'
```

Number of the slots of the server```
'player_list'
```

Collection of connected players. It contains player´s nick and uuid.```
'description'
```

The message of the day of the server ```
'description_raw'
```

The raw version of description
(contains color codes etc.)```
'favicon'
```

The favicon of the server in a base64 string
(Can be displayed with the html img tag by setting the string as src)```
'modinfo'
```

Informations about the plugins

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

3698d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20132f3147eb21ec59013bf218959c209f3e28ba9c6a7c10fd73e0658088c010?d=identicon)[ok236449](/maintainers/ok236449)

---

Top Contributors

[![ok236449](https://avatars.githubusercontent.com/u/89067167?v=4)](https://github.com/ok236449 "ok236449 (9 commits)")[![spravil](https://avatars.githubusercontent.com/u/979130?v=4)](https://github.com/spravil "spravil (6 commits)")[![mariogrip](https://avatars.githubusercontent.com/u/1642635?v=4)](https://github.com/mariogrip "mariogrip (2 commits)")[![TuxCoding](https://avatars.githubusercontent.com/u/1957196?v=4)](https://github.com/TuxCoding "TuxCoding (2 commits)")[![Metrakit](https://avatars.githubusercontent.com/u/3305600?v=4)](https://github.com/Metrakit "Metrakit (1 commits)")

---

Tags

serverstatusminecraft

### Embed Badge

![Health badge](/badges/ok236449-minecraftserverstatus/health.svg)

```
[![Health](https://phpackages.com/badges/ok236449-minecraftserverstatus/health.svg)](https://phpackages.com/packages/ok236449-minecraftserverstatus)
```

###  Alternatives

[spatie/laravel-webhook-server

Send webhooks in Laravel apps

1.1k8.8M22](/packages/spatie-laravel-webhook-server)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[sarfraznawaz2005/servermonitor

Laravel package to periodically monitor the health of your server and website.

19513.2k1](/packages/sarfraznawaz2005-servermonitor)[laminas/laminas-server

Create Reflection-based RPC servers

2423.1M23](/packages/laminas-laminas-server)[phpfastcgi/fastcgi-daemon

A FastCGI daemon written in PHP

33011.4k4](/packages/phpfastcgi-fastcgi-daemon)[phpfastcgi/speedfony-bundle

A bundle to integrate a FastCGI daemon with the symfony2 framework

909.5k](/packages/phpfastcgi-speedfony-bundle)

PHPackages © 2026

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