PHPackages                             kreemer/tmx - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kreemer/tmx

ActiveLibrary

kreemer/tmx
===========

Parsing and manipulating tmx files

v0.3.1(5y ago)07[3 issues](https://github.com/kreemer/tmx/issues)MITPHPPHP &gt;=7.4

Since Feb 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kreemer/tmx)[ Packagist](https://packagist.org/packages/kreemer/tmx)[ Docs](https://lethani.ch)[ RSS](/packages/kreemer-tmx/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (10)Versions (5)Used By (0)

TMX \[[![Continuous Integration](https://github.com/kreemer/tmx/actions/workflows/continuous-integration.yaml/badge.svg?branch=main)](https://github.com/kreemer/tmx/actions/workflows/continuous-integration.yaml/badge.svg?branch=main)\]
===========================================================================================================================================================================================================================================

[](#tmx-)

[![Total Downloads](https://camo.githubusercontent.com/f16c83ed8e584cae5e5dcf30c9116fe2dc053010a5890d1d14c4cacc5155d69c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b7265656d65722f746d782e737667)](https://packagist.org/packages/kreemer/tmx)[![Latest Stable Version](https://camo.githubusercontent.com/7c2927395682111e6dc4fe7a66d96e729df17299f245812a139420d8ebcd0ba8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b7265656d65722f746d782e737667)](https://packagist.org/packages/kreemer/tmx)[![Code Coverage](https://camo.githubusercontent.com/a0ac26ad2d1b94a817c356ebe234558a272234c180c22964afefbfd95ec6b766/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6b7265656d65722f746d78)](https://app.codecov.io/gh/kreemer/tmx)

TMX is a library for creating, parsing and editing tmx files. The main purpose is to parse a tmx file and save the parsed file as image file.

The tmx format is used by the program [Tiled](https://www.mapeditor.org). The format is explained [here](https://doc.mapeditor.org/en/stable/reference/tmx-map-format/).

Installation
------------

[](#installation)

Install the latest version with

```
$ composer require kreemer/tmx
```

Basic Usage
-----------

[](#basic-usage)

```
