https://github.com/byjg/php-xmlutil
A utility class to make easy work with XML in PHP.
https://github.com/byjg/php-xmlutil
Last synced: 6 months ago
JSON representation
A utility class to make easy work with XML in PHP.
- Host: GitHub
- URL: https://github.com/byjg/php-xmlutil
- Owner: byjg
- License: mit
- Created: 2015-07-22T18:11:09.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T17:47:14.000Z (10 months ago)
- Last Synced: 2025-01-28T05:16:57.428Z (8 months ago)
- Language: PHP
- Size: 145 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# XmlUtil
[](https://github.com/byjg/php-xmlutil/actions/workflows/phpunit.yml)
[](http://opensource.byjg.com)
[](https://github.com/byjg/php-xmlutil/)
[](https://opensource.byjg.com/opensource/licensing.html)
[](https://github.com/byjg/php-xmlutil/releases/)A utility class to make it easy work with XML in PHP
## Examples
- [Create a new XML Document using the API](docs/using-api.md)
- [Working with namespaces](docs/namespaces.md)
- [Query a XMLDocument](docs/query-document.md)
- [Convert any model to XML](docs/convert-model-xml.md)
- [Use Attributes to help in the conversion](docs/convert-model-xml-withattributes.md)
- [Clean an XML document removing specific tags](docs/clean-document.md)## Install
```bash
composer require "byjg/xmlutil"
```## Running the Tests
```bash
vendor/bin/phpunit
```## Dependencies
```mermaid
flowchart TD
byjg/xmlutil --> ext-simplexml
byjg/xmlutil --> ext-dom
byjg/xmlutil --> byjg/serializer
```----
[Open source ByJG](http://opensource.byjg.com)