https://github.com/pixelwhiz/formapi
📃 Simple API for creating forms for MCPE clients (PocketMine only)
https://github.com/pixelwhiz/formapi
formapi pocketmine
Last synced: 1 day ago
JSON representation
📃 Simple API for creating forms for MCPE clients (PocketMine only)
- Host: GitHub
- URL: https://github.com/pixelwhiz/formapi
- Owner: pixelwhiz
- License: lgpl-3.0
- Created: 2024-08-03T09:39:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-03T10:45:21.000Z (over 1 year ago)
- Last Synced: 2025-03-25T23:43:26.095Z (10 months ago)
- Topics: formapi, pocketmine
- Language: PHP
- Homepage:
- Size: 49.8 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FormAPI
Simple API for creating forms for MCPE clients (PocketMine only)
## Including in other plugins
### As a plugin
This library can be loaded as a plugin phar. You can use the [`depend`](https://doc.pmmp.io/en/rtfd/developer-reference/plugin-manifest.html#depend) key in `plugin.yml` to require its presence.
### As a virion
This library supports being included as a [virion](https://github.com/poggit/support/blob/master/virion.md).
#### Virion v1
If you use [Poggit](https://poggit.pmmp.io) to build your plugin, you can add it to your `.poggit.yml` like so:
```yml
projects:
YourPlugin:
libs:
- src: jojoe77777/FormAPI/libFormAPI
version: ^2.1.1
```
#### Virion v3
In your `composer.json` add an entry to the `require` attribute, like so:
```diff
{
"name": "author/project",
"require": {
+ "jojoe77777/formapi": "^2.1.0",
"pmmp/pocketmine-mp": "^4.0.0
}
}
```