2017 © Pedro Peláez
 

library gbx

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

image

manialib/gbx

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

  • Thursday, June 8, 2017
  • by magnetik
  • Repository
  • 3 Watchers
  • 1 Stars
  • 968 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 6 % Grown

The README.md

Manialib\Gbx

Packagist Version Total Downloads, (*1)

Manialib\Gbx is a PHP package for reading Gbx file metadata, (*2)

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, (*3)

{
    "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., (*4)

The Versions

08/06 2017

dev-master

9999999-dev https://github.com/manialib/gbx

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

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

The Development Requires

maniaplanet shootmania trackmania manialib ubisoft nadeo

08/06 2017

4.0.1

4.0.1.0 https://github.com/manialib/gbx

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

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

The Development Requires

maniaplanet shootmania trackmania manialib ubisoft nadeo

17/08 2015

v4.0

4.0.0.0 https://github.com/manialib/gbx

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

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

The Development Requires

maniaplanet shootmania trackmania manialib ubisoft nadeo

10/07 2015

4.0-beta1

4.0.0.0-beta1 https://github.com/manialib/gbx

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

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

The Development Requires

maniaplanet shootmania trackmania manialib ubisoft nadeo

16/02 2015

4.0-beta

4.0.0.0-beta https://github.com/manialib/gbx

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

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

The Development Requires

maniaplanet shootmania trackmania manialib ubisoft nadeo