Skip to content

Commit f5fe3f4

Browse files
authored
Update README.md
1 parent dae07d9 commit f5fe3f4

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ Accoording to [json.org](https://www.json.org/json-en.html), JSON is a data exch
2626
## Supported PHP Versions
2727
The library supports all versions from PHP 5.6 up to PHP 8.1.
2828

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+
2934
## Usage
3035
The process of using the classes is very simple. What you have to do is the following steps:
3136

32-
* Import the class `Json`.
37+
* Import (or include) the class [`Json`](https://github.com/WebFiori/json/blob/master/webfiori/json/Json.php).
3338
* Create an instance of the class.
34-
* Add JSON data as needed.
39+
* Add data as needed.
3540
* Output the object using `echo` command or any similar one.
3641

3742
For more information and advanced use cases, check [here](https://webfiori.com/learn/webfiori-json).

0 commit comments

Comments
 (0)