Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indentno/xml
Work with XML structures with ease
https://github.com/indentno/xml
xml xml-parser
Last synced: about 2 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T07:31:57.000Z (over 6 years ago)
- Last Synced: 2024-11-13T00:53:44.876Z (about 2 months 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
[![Travis](https://img.shields.io/travis/Sempro/xml.svg?style=flat-square)](https://travis-ci.org/Sempro/xml.svg?branch=master)
[![Packagist](https://img.shields.io/packagist/dt/sempro/xml.svg?style=flat-square)](https://packagist.org/packages/sempro/xml)
[![Packagist](https://img.shields.io/packagist/v/sempro/xml.svg?style=flat-square)](https://packagist.org/packages/sempro/xml)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](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)