PHPackages                             raideer/xml-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. raideer/xml-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

raideer/xml-parser
==================

XML parser written in PHP for usage in IDE tools. Produces an Abstract Syntax Tree.

v0.0.3(1y ago)112MITPHP

Since Jul 28Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/raideer/xml-parser)[ Packagist](https://packagist.org/packages/raideer/xml-parser)[ RSS](/packages/raideer-xml-parser/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

XML Parser
==========

[](#xml-parser)

This is an XML parser written in PHP for usage in IDE tools. It is significantly slower than existing XML parsers, but the benifit is that you get an Abstract Syntax Tree as an output. There are also some small adjustments that allows for a slight error tolerance.

The parser implementation is heavily inspired from the Tolerant PHP Parser by Microsoft.

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

[](#installation)

Via [Composer](https://getcomposer.org/)

```
composer require raideer/xml-parser
```

Usage
-----

[](#usage)

```
