Installation
Requirements¶
- PHP version 8.1 (#download-php8.1)
- PHP curl extension (#installation-docs)
- PHP zip extension (#installation-docs)
- PHP json extension (#installation-docs)
- Stable network connection (for connection to JSONDB server)
We have provided there are two ways to install and use this library :
install with composer¶
Warning
Your composer version must be compilable with php8.1 else you will get error from composer!
- You should install composer by instructions defined in https://getcomposer.org/download/
- Open terminal/cmd in your project directory and require package using the following command.
if you wanted to install dev version use
composer require estaheri/jsondb-lv:dev
command - After composer installed library you should include composer autoload file in you php codes.
- Now you have installed JSONDB-LV and you can start using it
install manually¶
-
Download the latest release from github repository.
-
Extract Downloaded release into your project directory.
- Now you see a folder jsondb in your project. all source files of library is in this folder.
- If you open library folder (jsondb) you see a file
jsondb.class.php
in it - Include
jsondb.class.php
file to your codes. - Now you have installed JSONDB-LV and you can start using it