PHPackages                             pocketmine/raklib - 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. pocketmine/raklib

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

pocketmine/raklib
=================

A RakNet server implementation written in PHP

1.2.1(6mo ago)101595.3k↓20.2%44[10 issues](https://github.com/pmmp/RakLib/issues)[5 PRs](https://github.com/pmmp/RakLib/pulls)7GPL-3.0PHPPHP ^8.1CI passing

Since Nov 14Pushed 6mo ago15 watchersCompare

[ Source](https://github.com/pmmp/RakLib)[ Packagist](https://packagist.org/packages/pocketmine/raklib)[ RSS](/packages/pocketmine-raklib/feed)WikiDiscussions stable Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (39)Used By (7)Security (1)

RakLib
======

[](#raklib)

[![CI](https://github.com/pmmp/RakLib/workflows/CI/badge.svg)](https://github.com/pmmp/RakLib/workflows/CI/badge.svg)

**UDP network library that follows the RakNet protocol for PHP**

This library is very lightweight on actual implementation - it provides the bare minimum to get a Minecraft Pocket Edition server functional. It only currently provides server functionality, and does not support most RakNet features.

*This project is not affiliated with Jenkins Software LLC nor RakNet.*

```
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see .

## Exceptions
The usage of this library with PocketMine-MP will allow the creation
of derivated non open-source works, without direct usage of RakLib.
Only PocketMine-MP and their plugins will be able to use the library
without license restrictions.

```

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance66

Regular maintenance activity

Popularity53

Moderate usage in the ecosystem

Community38

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 68.5% 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 ~92 days

Recently: every ~165 days

Total

33

Last Release

192d ago

Major Versions

0.15.1 → 1.0.02024-03-01

PHP version history (6 changes)0.9.0PHP &gt;=7.2.0RC3

0.12.0PHP &gt;=7.2.0

0.12.10PHP ^7.2 || ^8.0

0.13.0PHP ^7.4 || ^8.0

0.14.0PHP ^8.0

1.0.0PHP ^8.1

### Community

Maintainers

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

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

---

Top Contributors

[![dktapps](https://avatars.githubusercontent.com/u/14214667?v=4)](https://github.com/dktapps "dktapps (429 commits)")[![shoghicp](https://avatars.githubusercontent.com/u/516482?v=4)](https://github.com/shoghicp "shoghicp (103 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (46 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (37 commits)")[![Frago9876543210](https://avatars.githubusercontent.com/u/13465245?v=4)](https://github.com/Frago9876543210 "Frago9876543210 (2 commits)")[![IceCruelStuff](https://avatars.githubusercontent.com/u/50642756?v=4)](https://github.com/IceCruelStuff "IceCruelStuff (1 commits)")[![Intyre](https://avatars.githubusercontent.com/u/1076578?v=4)](https://github.com/Intyre "Intyre (1 commits)")[![SOF3](https://avatars.githubusercontent.com/u/19623715?v=4)](https://github.com/SOF3 "SOF3 (1 commits)")[![0x15f](https://avatars.githubusercontent.com/u/17521434?v=4)](https://github.com/0x15f "0x15f (1 commits)")[![svilex](https://avatars.githubusercontent.com/u/16593861?v=4)](https://github.com/svilex "svilex (1 commits)")[![alejandroliu](https://avatars.githubusercontent.com/u/3462168?v=4)](https://github.com/alejandroliu "alejandroliu (1 commits)")[![boi1216](https://avatars.githubusercontent.com/u/38191543?v=4)](https://github.com/boi1216 "boi1216 (1 commits)")[![falkirks](https://avatars.githubusercontent.com/u/5827558?v=4)](https://github.com/falkirks "falkirks (1 commits)")[![Humerus](https://avatars.githubusercontent.com/u/1784315?v=4)](https://github.com/Humerus "Humerus (1 commits)")

---

Tags

github-actions-enabledon-packagistphp81php82phpstan-l9phpstan-strict

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pocketmine-raklib/health.svg)

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

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k78.3k90](/packages/pocketmine-pocketmine-mp)[godruoyi/php-snowflake

An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).

8652.6M68](/packages/godruoyi-php-snowflake)[pocketmine/nbt

PHP library for working with Named Binary Tags

42602.6k22](/packages/pocketmine-nbt)[bitwasp/buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

65779.0k41](/packages/bitwasp-buffertools)[pocketmine/math

PHP library containing math related code used in PocketMine-MP

44601.8k23](/packages/pocketmine-math)[pocketmine/binaryutils

Classes and methods for conveniently handling binary data

26729.9k42](/packages/pocketmine-binaryutils)

PHPackages © 2026

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