AnyDataset-NoSql

Opensource ByJG Build Status

NoSql abstraction dataset. Anydataset is an agnostic data source abstraction layer in PHP.

See more about Anydataset here.

Examples

Install

Just type:

composer require "byjg/anydataset-nosql=4.1.*"

Running Unit tests

vendor/bin/phpunit

Setup MongoDB for the unit test

Set the environment variable:

  • MONGODB_CONNECTION = “mongodb://127.0.0.1/test”

Setup AWS DynamoDb for the unit test

Set the environment variable:

  • DYNAMODB_CONNECTION = “dynamodb://access_key:secret_key@region/tablename”

Setup AWS S3 for the unit test

Set the environment variable:

  • S3_CONNECTION = “s3://access_key:secret_key@region/bucketname”

Cloudflare KV

Set the environment variable:

  • CLOUDFLAREKV_CONNECTION = “kv://email:authkey@accountid/namespaceid”

Open source ByJG