You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A formatter package that will help you to easily convert between various formats such as XML, JSON, CSV, etc...
7
+
8
+
# Goals
9
+
The goals of this library to to allow the transfomation of data formats from one type to another. See Parsers and Formats to see supported input / output formats.
10
+
11
+
# Installation
12
+
13
+
Through command line:
14
+
15
+
```bash
16
+
composer require soapbox/laravel-formatter
17
+
```
18
+
19
+
Through composer.json:
20
+
21
+
```json
22
+
{
23
+
"require": {
24
+
"soapbox/laravel-formatter": "2.x"
25
+
}
26
+
}
27
+
28
+
```
29
+
30
+
## Parsers
31
+
All of the following are supported formats that the formatter can read from.
32
+
* Array
33
+
* CSV
34
+
* JSON
35
+
* XML
36
+
* YAML
37
+
38
+
## Formats
39
+
All of the following are formats that are supported for output.
40
+
* Array
41
+
* CSV
42
+
* JSON
43
+
* XML
44
+
* YAML
45
+
46
+
## General Usage (See tests for most up to date examples)
0 commit comments