avap / nora-php-kvs
key value store
v1.0.0
2020-04-11 05:50 UTC
Requires
Requires (Dev)
- phar-io/version: ^2.0
- phpunit/phpunit: ^8.5
- spatie/phpunit-watcher: ^1.22
This package is auto-updated.
Last update: 2024-11-11 16:19:12 UTC
README
install
composer install avap/nora-php-kvs
Usage
FileSystem
Nora\Kvs\StorageFactory::create(
new Nora\Kvs\StorageContext([
'type' => 'filesystem',
'name' => '/tmp/storage'
])
)
S3
Nora\Kvs\StorageFactory::create(
new Nora\Kvs\StorageContext([
'type' => 's3',
'name' => 'testbucket/tests'
])
)
Dynamo
Nora\Kvs\StorageFactory::create(
new Nora\Kvs\StorageContext([
'type' => 'dynamo',
])
)