Library for reading Tiled .tmx map files.
Example:
use TiledTmx\JsonMapWriter as Writer;
use TiledTmx\Parser;
$map = (new Parser)->parseFile('./test/data/testMap1.tmx');
echo Writer::render($map);
The Tiled Map Editor can be downloaded at http://www.mapeditor.org/
The Tiled TMX format is documented here: https://github.com/bjorn/tiled/wiki/TMX-Map-Format
To improve network performance, make sure that your web server has enabled gzip compression for the generated output.