定制 eslkem/gbx-parser 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

eslkem/gbx-parser

Composer 安装命令:

composer require eslkem/gbx-parser

包简介

This package is made to parse Maniaplanet's GBX files and extract useful information from them.

README 文档

README

This component is written to parse Maniaplanet engine's produced GBX Map files and extract useful information from it. Note: this package requires a 64-bit PHP installation to function properly.

Installation

Just run $ composer require eslkem/gbx-parser or add "eslkem/gbx-parser": "^1.0" line to your composer.json file followed by a $ composer install or $composer update command.

Setup and usage

Using the package is straight forward: do not forget to include

require_once __DIR__.'/vendor/autoload.php';

and use the following classes:

use ESLKem\GBXParser\Parser;
use ESLKem\GBXParser\Models\Map;

Sample usage:

$map = Parser::parse('./path/to/file.gbx');
echo $map->getName();

Documentation

The full documentation is available here.

Testing

This package is tested using PHPUnit. To run the tests, simply execute $ ./vendor/bin/phpunit.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-05-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固