https://github.com/znframework/package-xml
ZN Framework XML Package
https://github.com/znframework/package-xml
Last synced: 6 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 (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2025-01-05T14:14:25.000Z (6 months ago)
- Last Synced: 2025-01-05T14:38:36.592Z (6 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
```