We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566e294 commit 505d71aCopy full SHA for 505d71a
README.md
@@ -0,0 +1,23 @@
1
+# PhpArrayToXml
2
+
3
+Convert an array to XML with PHP
4
5
+[](LICENSE.md)
6
+[](https://travis-ci.org/refactorstudio/php-array-to-xml)
7
8
+## Usage
9
10
+Basic example:
11
+```php
12
+use RefactorStudio\PhpArrayToXml\PhpArrayToXml;
13
14
+$converter = new PhpArrayToXml();
15
16
+$result = $converter->toXmlString(['title' => 'My Products']);
17
+```
18
19
+Output:
20
+```xml
21
+<?xml version="1.0" encoding="UTF-8"?>
22
+<root><title>My Products</title></root>
23
0 commit comments