PHPackages                             valiant-bedrock/libforms - 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. valiant-bedrock/libforms

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

valiant-bedrock/libforms
========================

A small form library built for PocketMine-MP

0.7.2(3y ago)31201MITPHP

Since May 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Valiant-Bedrock/libforms)[ Packagist](https://packagist.org/packages/valiant-bedrock/libforms)[ RSS](/packages/valiant-bedrock-libforms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (8)Used By (0)

libforms
========

[](#libforms)

A small form library built for PocketMine-MP

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

[](#installation)

This library can be installed using Composer:

### Composer:

[](#composer)

```
composer require valiant-bedrock/libforms

```

### Virion (Poggit):

[](#virion-poggit)

Virion support can be accessed through Poggit using [this link](https://poggit.pmmp.io/ci/Valiant-Bedrock/libforms/~).

Basic Example
-------------

[](#basic-example)

Here is an example of how to use the library:

```
$form = new \libforms\SimpleForm(
    title: "Hello, World!",
    content: "This is our simple, little form.",
    buttons: [
        new \libforms\buttons\Button(
            text: "Click me!",
            onClick: function (Player $player): void { $player->sendMessage("You clicked it!"); }
        ),
        new \libforms\buttons\ImageButton(
            text: "I'm shinier! Click me!",
            type: \libforms\buttons\image\ImageType::PATH(),
            source: "textures/items/diamond",
            onClick: function (Player $player): void {
                $player->sendMessage("Ooh! Shiny!");
                $player->getInventory()->add(VanillaItems::DIAMOND());
            }
        )
    ]
);

assert($player instanceof \pocketmine\player\Player);
$form->send($player);
```

Wiki
----

[](#wiki)

To learn more about the library and how to use it, please consult the wiki using [this link](https://github.com/Valiant-Bedrock/libforms/wiki).

Issues / Suggestions
--------------------

[](#issues--suggestions)

Any issues or suggestions with the library can be reported [here](https://github.com/Valiant-Bedrock/libforms/issues).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98% 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 ~12 days

Total

6

Last Release

1395d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c8f558299ae6ceaec9257a8cdafaceef401d6c61aa5a8b84e630a1073a160c5?d=identicon)[sylvrs](/maintainers/sylvrs)

---

Top Contributors

[![sylvrs](https://avatars.githubusercontent.com/u/13668008?v=4)](https://github.com/sylvrs "sylvrs (50 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/valiant-bedrock-libforms/health.svg)

```
[![Health](https://phpackages.com/badges/valiant-bedrock-libforms/health.svg)](https://phpackages.com/packages/valiant-bedrock-libforms)
```

###  Alternatives

[psr7-sessions/storageless

Storageless PSR-7 Session support

652373.0k8](/packages/psr7-sessions-storageless)[bryanjhv/slim-session

Session middleware and helper for Slim framework 4.

233961.5k16](/packages/bryanjhv-slim-session)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

36274.1k6](/packages/logiscape-mcp-sdk-php)[bepsvpt/blurhash

A PHP implementation of BlurHash with Laravel integration.

130259.9k5](/packages/bepsvpt-blurhash)[frosh/development-helper

Development Helper

90286.1k](/packages/frosh-development-helper)[worksome/coding-style

Worksomes coding style

49771.7k57](/packages/worksome-coding-style)

PHPackages © 2026

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