PHPackages                             nhanaz/libbedrock - 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. nhanaz/libbedrock

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

nhanaz/libbedrock
=================

Common features for PocketMine-MP plugins

v1.1.9(2y ago)10763[2 PRs](https://github.com/NhanAZ-Libraries/libBedrock/pulls)MITPHPCI passing

Since Oct 15Pushed 3w ago1 watchersCompare

[ Source](https://github.com/NhanAZ-Libraries/libBedrock)[ Packagist](https://packagist.org/packages/nhanaz/libbedrock)[ Fund](https://www.paypal.me/NhanAZ)[ RSS](/packages/nhanaz-libbedrock/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (5)Versions (25)Used By (0)

 [ ![](https://github.com/NhanAZ/libBedrock/raw/master/assets/libBedrock_Icon_GIF.gif) ](https://github.com/NhanAZ/libBedrock)
 **🌈 A library that provides common features for the PocketMine-MP plugin.**

 [![CI](https://github.com/NhanAZ/libBedrock/actions/workflows/ci.yml/badge.svg)](https://github.com/NhanAZ/libBedrock/actions/workflows/ci.yml) [![GitHub release (latest SemVer)](https://camo.githubusercontent.com/32e530da0c69b337d41c462c82cd8be6ce7f5fcc30e70276a3d9ea5a20919a81/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4e68616e415a2f6c6962426564726f636b3f6c6162656c3d72656c6561736526736f72743d73656d766572)](https://github.com/NhanAZ/libBedrock/releases/latest) [![Discord](https://camo.githubusercontent.com/4dfbba19c8df75a82ddc923edb16340aaf9fc4afc990b57189b651afd9a939a6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3938363535333231343838393531373038383f6c6162656c3d646973636f726426636f6c6f723d373238394441266c6f676f3d646973636f7264)](https://discord.gg/j2X83ujT6c)

Table of Contents- [Including in other plugins](#including-in-other-plugins)
- [API documentation](#api-documentation)
- [How to contact me?](#how-to-contact-me)
- [How do I contribute to libBedrock?](#how-do-i-contribute-to-libbedrock)
- [Donate](#donate)
- [Licensing information](https://github.com/NhanAZ/libBedrock/edit/master/README.md#licensing-information)
- [Credits](#credits)

---

Including in other plugins
--------------------------

[](#including-in-other-plugins)

Integrate the virion itself into your plugin or you could also use it as a composer library by running the command below:

`composer require nhanaz/libbedrock`

This library supports being included as a [virion](https://github.com/poggit/support/blob/master/virion.md).

If you use [Poggit](https://poggit.pmmp.io) to build your plugin, you can add it to your `.poggit.yml` like so:

```
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/YourGithubUserName/YourPluginName
build-by-default: true
branches:
- master
projects:
  YourPluginName:
    path: ""
    libs:
      - src: NhanAZ/libBedrock/libBedrock
        version: x.y.z
...
```

API documentation
-----------------

[](#api-documentation)

There's no documentation yet, but you can check out the [demo plugin](https://github.com/search?q=org%3Anhanaz-pm-pl%20libBedrock&type=code)/[dependency graph](https://github.com/NhanAZ/libBedrock/network/dependents) which shows how to use its API in a plugin or read the PHPDocs written in the code.

How to contact me?
------------------

[](#how-to-contact-me)

You can contact me directly via Discord `NhanAZ` (Originally known as `NhanAZ#9115`), ping `@NhanAZ` in Discord , email to `nhanaz@duck.com`.

How do I contribute to libBedrock?
----------------------------------

[](#how-do-i-contribute-to-libbedrock)

Before you participate in our community, please read the [Code of Conduct](https://github.com/NhanAZ/libBedrock/blob/master/CODE_OF_CONDUCT.md).

See [Contributing](https://github.com/NhanAZ/libBedrock/blob/master/CONTRIBUTING.md) for more details.

Donate
------

[](#donate)

- [PayPal](https://www.paypal.com/paypalme/NhanAZ)

Licensing information
---------------------

[](#licensing-information)

This project is licensed under MIT. Please see the [LICENSE](/LICENSE) file for details.

Credits
-------

[](#credits)

Details- [Contributors](https://github.com/NhanAZ/libBedrock/graphs/contributors)
- [pmmp/PocketMine-MP](https://github.com/pmmp/PocketMine-MP)
- [thebigcrafter/ktpmpl-cfs](https://github.com/thebigcrafter/ktpmpl-cfs)
- [jasonw4331/libCustomPack](https://github.com/jasonw4331/libCustomPack)
- [thebigcrafter/oh-my-pmmp](https://github.com/thebigcrafter/oh-my-pmmp)
- [thebigcrafter/Hydrogen](https://github.com/thebigcrafter/Hydrogen)
- [PHPStan](https://github.com/phpstan/phpstan)
- [PHP Coding Standards Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer)
- [Visual Studio Code](https://code.visualstudio.com/)
- [PhpStorm](https://www.jetbrains.com/phpstorm/)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance62

Regular maintenance activity

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.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 ~14 days

Total

22

Last Release

1041d ago

Major Versions

v0.0.10 → v1.0.02023-06-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/737e9f0e23b56164d8e08729d58be66b69dc994c6b2bfa3c71b4efe4b231d785?d=identicon)[NhanAZ](/maintainers/NhanAZ)

---

Top Contributors

[![NhanAZ](https://avatars.githubusercontent.com/u/60387689?v=4)](https://github.com/NhanAZ "NhanAZ (154 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")[![0xliam627](https://avatars.githubusercontent.com/u/70517151?v=4)](https://github.com/0xliam627 "0xliam627 (2 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (2 commits)")[![JkqzDev](https://avatars.githubusercontent.com/u/99534798?v=4)](https://github.com/JkqzDev "JkqzDev (1 commits)")[![VennDev](https://avatars.githubusercontent.com/u/111500380?v=4)](https://github.com/VennDev "VennDev (1 commits)")

---

Tags

bedrockgithublibbedrocklibrarynhanaznhanaz-pm-plphpphp81php82phpstanphpstan-l9phpstan-lmaxpmmppocketminepocketmine-mppoggitvirion

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nhanaz-libbedrock/health.svg)

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

###  Alternatives

[muqsit/invmenu

A PocketMine-MP virion to create and manage virtual inventories!

2225.3k1](/packages/muqsit-invmenu)[muqsit/simple-packet-handler

Handle specific data packets (virion for PMMP API 4.0.0)

417.6k3](/packages/muqsit-simple-packet-handler)[dktapps/pmforms

Form API library for PocketMine-MP plugins

532.6k1](/packages/dktapps-pmforms)[muqsit/asynciterator

A virion that simplifies writing tasks that traverse iterators

183.0k](/packages/muqsit-asynciterator)

PHPackages © 2026

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