AnyDataset-NoSql
Anydataset NoSQL standardize the access to non-relational databases/repositories and treat them as Key/Value. The implementation can work with:
- S3-Like Storage
- MongoDB
- Cloudflare KV
- DynamoDB
Anydataset is an agnostic data source abstraction layer in PHP. See more about Anydataset here.
Features
- Access as Key/Value repositories different datasource
- Allow put and get data
- Simplified way to connect to the datasources
Connection Based on URI
The connection string for databases is based on URL.
See below the current implemented drivers:
Datasource | Connection String |
---|---|
MongoDB | mongodb://username:password@hostname:port/database |
S3 | s3://accesskey:secretkey@region/bucket?params |
Cloudflare KV | kv://username:password@accountid/namespaceid |
AWS DynamoDB | dynamodb://accesskey:secretkey@hostname/tablename?params |
Topics
Install
Just type:
composer require "byjg/anydataset-nosql"