zomarrd/pluginbuilderpmmp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

img.png

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.php class 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固