https://github.com/indentno/xml
Work with XML structures with ease
https://github.com/indentno/xml
xml xml-parser
Last synced: 12 months ago
JSON representation
Work with XML structures with ease
- Host: GitHub
- URL: https://github.com/indentno/xml
- Owner: indentno
- Created: 2017-03-14T07:57:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T07:31:57.000Z (about 8 years ago)
- Last Synced: 2024-11-13T00:53:44.876Z (over 1 year ago)
- Topics: xml, xml-parser
- Language: PHP
- Size: 4.88 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xml
[](https://travis-ci.org/Sempro/xml.svg?branch=master)
[](https://packagist.org/packages/sempro/xml)
[](https://packagist.org/packages/sempro/xml)
[](http://makeapullrequest.com)
> Work with XML structures with ease
### Install
```bash
composer require sempro/xml
```
### Usage
```php
$xml = new XML;
$xml->fromString($xmlStructure)->toArray();
```
### Credit
This package is based on [Tamlyn Rhodes article](http://outlandish.com/blog/xml-to-json/)
### License
MIT © [Sempro AS](http://www.sempro.no)