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

[prooph/event-sourcing

PHP EventSourcing library

267808.5k18](/packages/prooph-event-sourcing)[sybio/gif-frame-extractor

PHP class that separates all the frames (and their duration) of an animated GIF

179417.2k8](/packages/sybio-gif-frame-extractor)[dreamonkey/laravel-cloudfront-url-signer

Laravel 5.6+ wrapper around CloudFront canned signed URLs

54750.7k](/packages/dreamonkey-laravel-cloudfront-url-signer)[judev/php-htmltruncator

HTML Truncation library, ported from the html\_truncator rubygem

26286.5k6](/packages/judev-php-htmltruncator)[paulzi/yii2-sortable

Sortable Behavior for Yii2

15310.5k4](/packages/paulzi-yii2-sortable)[causal/extractor

This extension detects and extracts metadata (EXIF / IPTC / XMP / ...) from potentially thousand different file types (such as MS Word/Powerpoint/Excel documents, PDF and images) and bring them automatically and natively to TYPO3 when uploading assets. Works with built-in PHP functions but takes advantage of Apache Tika and other external tools for enhanced metadata extraction.

16244.5k](/packages/causal-extractor)

PHPackages © 2026

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