承接 manialib/gbx 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

manialib/gbx

最新稳定版本:v5.0.0

Composer 安装命令:

composer require manialib/gbx

包简介

Manialib/Gbx is a PHP package to manipulate Maniaplanet Gbx files metadata

README 文档

README

Packagist Version Total Downloads

Manialib\Gbx is a PHP package for reading Gbx file metadata

Features

  • Map.Gbx: Access metadata with a simple object interface
  • Map.Gbx: Extract JPG thumbnail

Beta

  • This is a work in progress.
  • We might break stuff at any point.
  • If you need a stable version, feel free to ask us.
  • If you need a new feature, feel free to ask us.

Requirements

  • PHP 8.0+
  • PHP GD extension

Install

Install via Composer

{
	"require": {
        "manialib/gbx": "^5.0"
    }
}

Usage

use Manialib\Gbx\Map;

$map = Map::loadFile('/path/to/my/map.map.gbx');

//save the map thumbnail
$map->getThumbnail()->saveJpg('/path/to/my/thumbnail.jpg');

//get map author
$author = $map->getAuthor();

Development guidelines

We follow best practices from the amazing PHP ecosystem. Warm kudos to Symfony, The PHP League, the PHP subreddit and many more for inspiration and challenging ideas.

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-16