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
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,17 @@ Accoording to [json.org](https://www.json.org/json-en.html), JSON is a data exch
26
26
## Supported PHP Versions
27
27
The library supports all versions from PHP 5.6 up to PHP 8.1.
28
28
29
+
## Installation
30
+
If you are using composer to manage your dependencies, then it is possible to install the library by including the entry `"webfiori/jsonx":"*"` in the `require` section of your `composer.json` file to install the latest release.
31
+
32
+
Another way to include the library is by going to [releases](https://github.com/WebFiori/json/releases) and download the latest release and extract compressed file content and add them to your include directory.
33
+
29
34
## Usage
30
35
The process of using the classes is very simple. What you have to do is the following steps:
31
36
32
-
* Import the class `Json`.
37
+
* Import (or include) the class [`Json`](https://github.com/WebFiori/json/blob/master/webfiori/json/Json.php).
33
38
* Create an instance of the class.
34
-
* Add JSON data as needed.
39
+
* Add data as needed.
35
40
* Output the object using `echo` command or any similar one.
36
41
37
42
For more information and advanced use cases, check [here](https://webfiori.com/learn/webfiori-json).
0 commit comments