PHPackages                             neoncitylights/xml - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. neoncitylights/xml

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

neoncitylights/xml
==================

PHP library that provides a nicer interface over PHP's native XML API

v1.0.2(1y ago)01[4 PRs](https://github.com/php-lights/xml/pulls)MITPHPPHP &gt;=8.3CI passing

Since Feb 20Pushed 3mo agoCompare

[ Source](https://github.com/php-lights/xml)[ Packagist](https://packagist.org/packages/neoncitylights/xml)[ RSS](/packages/neoncitylights-xml/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

Xml
===

[](#xml)

[![Packagist](https://camo.githubusercontent.com/ca8341cc06370461b5b4959964678d97aa655954d01f5ea7af4c4b277a5e16ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e656f6e636974796c69676874732f786d6c3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/neoncitylights/xml)[![License](https://camo.githubusercontent.com/a7e65aee57b11d28e4caff8b945729a66be0bb663f7f93bd24c5aa65699f148e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](#license)[![Docs](https://camo.githubusercontent.com/343eb0c11b2f7a42db2f70fe92bf548e14f15463d603d20f09b510f986bae9de/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6465706c6f796d656e74732f7068702d6c69676874732f7068702d786d6c2f6769746875622d70616765733f6c6162656c3d646f6373267374796c653d666c61742d737175617265)](https://php-lights.github.io/xml/)[![CI](https://camo.githubusercontent.com/09ff2989820ff0ea977379fe7f6439a7f70c564274d7782851ad0c9301370971/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7068702d6c69676874732f7068702d786d6c2f2e6769746875622f776f726b666c6f77732f7068702e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/php-lights/php-xml/actions/workflows/php.yml)[![Code coverage](https://camo.githubusercontent.com/3aec12570fc0ba6ed64c0692ad6d413c9423f9e6cce240ce45e4d2a99efff348/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7068702d6c69676874732f7068702d786d6c3f7374796c653d666c61742d737175617265)](https://app.codecov.io/gh/php-lights/php-xml)

A PHP library that provides a nicer, lightweight wrapper around PHP's native XML API.

Install
-------

[](#install)

```
composer install neoncitylights/xml
```

### Requirements

[](#requirements)

- PHP 8.3+
- [libxml](https://www.php.net/manual/en/book.libxml.php) (enabled by default in PHP)

Usage
-----

[](#usage)

```
