byjg / xmlutil
A utility class to make easy work with XML in PHP.
Fund package maintenance!
byjg
Installs: 110 131
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=8.1 <8.4
- ext-dom: *
- ext-libxml: *
- ext-simplexml: *
- byjg/serializer: ^5.0
Requires (Dev)
- phpunit/phpunit: ^9.6
- vimeo/psalm: ^5.20
README
A utility class to make it easy work with XML in PHP
Examples
- Create a new XML Document using the API
- Working with namespaces
- Query a XMLDocument
- Convert any model to XML
- Use Attributes to help in the conversion
- Clean an XML document removing specific tags
Install
composer require "byjg/xmlutil"
Running the Tests
vendor/bin/phpunit