PHPackages                             laravie/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. laravie/parser

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

laravie/parser
==============

XML Document Parser for PHP

v3.0.0(1y ago)2342.1M—8.5%24[1 PRs](https://github.com/laravie/parser/pulls)8MITPHPPHP ^8.2CI passing

Since Dec 18Pushed 1y ago6 watchersCompare

[ Source](https://github.com/laravie/parser)[ Packagist](https://packagist.org/packages/laravie/parser)[ GitHub Sponsors](https://github.com/crynobone)[ Fund](https://liberapay.com/crynobone)[ RSS](/packages/laravie-parser/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (27)Used By (8)

XML Document Parser PHP
=======================

[](#xml-document-parser-php)

Parser Component is a framework agnostic package that provide a simple way to parse XML to array without having to write a complex logic.

[![tests](https://github.com/laravie/parser/actions/workflows/tests.yml/badge.svg?branch=3.x)](https://github.com/laravie/parser/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/b872c92dcc83e3c7ec0058700a0be325d21bb2f83e789a1044439fd58f07dbc4/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f7061727365722f76657273696f6e)](https://packagist.org/packages/laravie/parser)[![Total Downloads](https://camo.githubusercontent.com/8cb5900c56cb14a6f0d3e45120bfef7147c12d790643e00c7bc34ad3afc62507/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f7061727365722f646f776e6c6f616473)](https://packagist.org/packages/laravie/parser)[![Latest Unstable Version](https://camo.githubusercontent.com/619e1dc4a79ebc71d1d8289943f0eb3bed3b64b11ea6034db669b4a537582260/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f7061727365722f762f756e737461626c65)](//packagist.org/packages/laravie/parser)[![License](https://camo.githubusercontent.com/d4cbe212f20926d495341f8e70b526cad649de93628c64a696aff47da5c3b208/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f7061727365722f6c6963656e7365)](https://packagist.org/packages/laravie/parser)[![Coverage Status](https://camo.githubusercontent.com/df5c86939408c930cc15c9914bb249802c68dae444a573ae586d068d87ce2f7e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6172617669652f7061727365722f62616467652e7376673f6272616e63683d322e78)](https://coveralls.io/github/laravie/parser?branch=2.x)

Imagine if you can parse

```

        1
        crynobone@gmail.com

```

to

```
