Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/znframework/package-xml
ZN Framework XML Package
https://github.com/znframework/package-xml
Last synced: about 2 months ago
JSON representation
ZN Framework XML Package
- Host: GitHub
- URL: https://github.com/znframework/package-xml
- Owner: znframework
- License: mit
- Created: 2018-01-15T16:01:01.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-06-23T12:13:48.000Z (over 2 years ago)
- Last Synced: 2024-10-07T00:48:22.806Z (3 months ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
ZN Framework XML Package
Follow the steps below for installation and use.Installation
You only need to run the following code for the installation.```
composer require znframework/package-xml
```Documentation
Click for documentation of your library.Example Usage
Basic level usage is shown below.```php
'media',
'attr' => ['id' => 1],
'child' =>
[
['name' => 'video', 'attr' => ['id' => 2], 'content' => 'Vidyo'],
[
'name' => 'music',
'attr' => ['id' => 3],
'child' =>
[
['name' => 'video', 'attr' => ['id' => 2], 'content' => 'Vidyo'],
['name' => 'video', 'attr' => ['id' => 2], 'content' => 'Vidyo'],
['name' => 'video', 'attr' => ['id' => 2], 'content' => 'Vidyo']
]
]
]
]);Output::display($data);
```
```xmlVidyo
Vidyo
Vidyo
Vidyo
```