https://github.com/byjg/php-anydataset-nosql
A NoSql abstraction dataset. Anydataset is an agnostic data source abstraction layer in PHP.
https://github.com/byjg/php-anydataset-nosql
anydataset aws-dynamodb aws-s3 cloudflare-kv dynamodb mongodb nosql nosql-anydataset php s3
Last synced: about 1 year ago
JSON representation
A NoSql abstraction dataset. Anydataset is an agnostic data source abstraction layer in PHP.
- Host: GitHub
- URL: https://github.com/byjg/php-anydataset-nosql
- Owner: byjg
- License: mit
- Created: 2018-11-19T13:32:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T20:01:14.000Z (over 1 year ago)
- Last Synced: 2024-10-29T22:39:45.370Z (over 1 year ago)
- Topics: anydataset, aws-dynamodb, aws-s3, cloudflare-kv, dynamodb, mongodb, nosql, nosql-anydataset, php, s3
- Language: PHP
- Homepage:
- Size: 111 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# AnyDataset-NoSql
[](https://github.com/byjg/php-anydataset-nosql/actions/workflows/phpunit.yml)
[](http://opensource.byjg.com)
[](https://github.com/byjg/php-anydataset-nosql/)
[](https://opensource.byjg.com/opensource/licensing.html)
[](https://github.com/byjg/php-anydataset-nosql/releases/)
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](https://opensource.byjg.com/php/anydataset).
## 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](docs/MongoDB.md) | mongodb://username:password@hostname:port/database |
| [S3](docs/AwsS3KeyValue.md) | s3://accesskey:secretkey@region/bucket?params |
| [Cloudflare KV](docs/CloudFlareKV.md) | kv://username:password@accountid/namespaceid |
| [AWS DynamoDB](docs/AwsDynamoDbKeyValue.md) | dynamodb://accesskey:secretkey@hostname/tablename?params |
## Topics
- [S3-Like Storage](docs/AwsS3KeyValue.md)
- [MongoDB](docs/MongoDB.md)
- [Cloudflare KV](docs/CloudFlareKV.md)
- [AWS DynamoDB](docs/AwsDynamoDbKeyValue.md)
- [Cache Store](docs/cache.md)
- [Running Tests](docs/tests.md)
## Install
Just type:
```bash
composer require "byjg/anydataset-nosql"
```
## Dependencies
```mermaid
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
```
----
[Open source ByJG](http://opensource.byjg.com)