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.
- Access as Key/Value repositories different datasource
- Allow put and get data
- Simplified way to connect to the datasources
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 |
Just type:
composer require "byjg/anydataset-nosql"
flowchart TD
byjg/anydataset-nosql --> ext-curl
byjg/anydataset-nosql --> aws/aws-sdk-php
byjg/anydataset-nosql --> byjg/anydataset
byjg/anydataset-nosql --> byjg/anydataset-array
byjg/anydataset-nosql --> byjg/serializer
byjg/anydataset-nosql --> byjg/webrequest
byjg/anydataset-nosql --> byjg/cache-engine
byjg/anydataset-nosql --> ext-json