byjg / xmlutil
A utility class to make easy work with XML in PHP.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        byjg
                                                                                    
                                                                
Installs: 135 603
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 1
pkg:composer/byjg/xmlutil
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
Dependencies
flowchart TD
    byjg/xmlutil --> ext-simplexml
    byjg/xmlutil --> ext-dom
    byjg/xmlutil --> byjg/serializer
    
  
  
    
  
    
    
    Loading