Skip to content

This component is written to parse Maniaplanet engine's produced GBX Map files and extract useful information from it.

License

Notifications You must be signed in to change notification settings

EvoEsports/gbx-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GBX Parser

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:

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.

About

This component is written to parse Maniaplanet engine's produced GBX Map files and extract useful information from it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%