sofiakb / php-database-nosql
A library to use nosql database
dev-main
2021-09-02 00:00 UTC
Requires
- ext-json: *
- sofiakb/php-filesystem: ^0.0.4
- sofiakb/php-support: ^0.0.10
- tightenco/collect: ^8.34
Requires (Dev)
- phpunit/phpunit: ^9.5
README
php-database-nosql
A PHP Library for detect OS System !
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
About The Library
The library allows to detect os system in PHP project.
Built With
This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
Prerequisites
- php >= 7.4
Installation
composer require sofiakb/php-database-nosql
Usage
//use Sofiakb\DetectOS\System; use Sofiakb\Database\NoSQL\Model; Model::insert(['name' => 'toto']); Model::insert([['name' => 'toto'], ['name' => 'titi']]); Model::where('name', 'toto')->get(); Model::where('name', 'toto')->first(); Model::where('name', '=', 'toto')->first(); Model::whereName('toto')->get(); Model::count(); Model::first(); // etc... Model::updateBy(['name' => 'tata'], 'name', '=', 'toto'); Model::whereName('toto')->update(['name' => 'tata']); Model::deleteBy('name', 'toto'); Model::whereName('toto')->delete();
Roadmap
See the open issues for a list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE
for more information.