zomarrd/pluginbuilderpmmp
最新稳定版本:1.0.0
Composer 安装命令:
composer require zomarrd/pluginbuilderpmmp
包简介
Create a .phar of your PocketMine-MP plugin
README 文档
README
The ultimate API for compiling your PocketMineMP plugins
Installation
Install Composer, and run this command in your project directory:
composer require zomarrd/pluginbuilderpmmp
Usage/Examples
1- Create a build.php file in the pluginPath/build/ and add the following code.
CODE EXAMPLE
<?php declare(strict_types=1); // Necesario si usas Composer. require_once __DIR__ . '/../vendor/autoload.php'; // Importar la clase PluginBuilder. use zOmArRD\Builder\PluginBuilder; // Crear una instancia de PluginBuilder. $pluginBuilder = new PluginBuilder(dirname(__DIR__)); // Compilar el plugin. $pluginBuilder->build();
CONSOLE OUTPUT
Creating Phar file... Added 2691 files to Phar Phar created in 2.899 seconds Phar size: 7082.07 KB Phar created successfully! Process finished with exit code 0
Extra
- You can modify the
PluginBuilder.phpclass to compile your plugin files the way you want.
For Developers
If there are bugs, errors, or you want to suggest something, you can report it, or make a pull request.
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-16
