sof3/pharynx 问题修复 & 功能扩展

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

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

sof3/pharynx

最新稳定版本:0.3.8

Composer 安装命令:

composer require sof3/pharynx

包简介

README 文档

README

A tool to recompile PHP sources into a phar in PSR-0

USAGE
  -v           : Enable verbose output.
  -i PATH      : Equivalent to `-f plugin.yml:PATH/plugin.yml -f PATH/resources -s PATH/src`.
  -f NAME:PATH : Copy the file or directory at PATH to output/NAME.
                 `:` is not considered as a separator if immediately followed by a backslash.
                 Can be passed multiple times.
  -s PATH      : Use the directory at PATH as a source root.
                 Can be passed multiple times
  -r NAME      : The path of the source root in the output.
                 Default `src`.
  -o PATH      : Store the output in directory form at PATH.
  -p[=PATH]    : Pack the output in phar form at PATH.
                 If no value is given, uses the path in `-o` followed by `.phar`.
                 If neither -o nor -p are passed, or only `-p` is passed but without values,
                 `-p output.phar` is assumed.
  -a ANTIGEN   : The virion antigens to shade.
                 Can be passed multiple times
  -c[=PATH]    : Infer source paths and antigens from composer.
                 Assumes that `composer install` was already run.
                 If a value is not provided, uses the same path as `-i`.
                 Otherwise, PATH should be the path to the directory containing composer.json.

EXAMPLES
  Package a plugin phar:
  $ php pharynx.phar -i path/to/your/plugin -p my-plugin.phar

  Package a plugin phar with composer virion dependencies:
  $ php pharynx.phar -i path/to/your/plugin -c -p my-plugin.phar

  Bundle output to a directory without building phar
  $ php pharynx.phar -i path/to/your/plugin -o output

  Package a plugin phar to output.phar, along with generated files in a gen directory:
  $ php pharynx.phar -i path/to/your/plugin -s path/to/gen

Use with PocketMine plugins

Download start.cmd/start.sh, pharynx.phar and bootstrap-plugin-dev.php from releases and copy them to your PocketMine install directory. Replace PocketMine's start.cmd/start.sh with the one you downloaded. Edit start.sh/start.cmd and change "plugin_source/MyPlugin" to the plugin(s) to build with pharynx (only start.sh supports multiple plugins). Then just start the server as usual!

统计信息

  • 总下载量: 4.74k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 0
  • 依赖项目数: 8
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固