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

v5.0.0 2023-05-10 12:34 UTC


Packagist Version Total Downloads

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


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


  • 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.


  • PHP 8.0+
  • PHP GD extension


Install via Composer

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


use Manialib\Gbx\Map;

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

//save the map thumbnail

//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.