nimbella / nimbella
Nimbella SDK for PHP
Installs: 2 222
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- google/cloud-storage: ^1.16
- predis/predis: ^1.1
README
A PHP library to interact with Nimbella.com services.
Installation
composer require nimbella/nimbella
Usage
use Nimbella\Nimbella; $nim = new Nimbella(); // Get configured \Predis|Client (https://github.com/predis/predis). $redis = $nim->redis(); $redis->set('foo', 'bar'); $value = $redis->get('foo'); // Get a configured Google\Cloud\Storage\Bucket (https://github.com/googleapis/google-cloud-php-storage). $bucket = $nim->storage(); // Upload a file to the bucket. $bucket->upload( fopen('/data/file.txt', 'r') );
Support
We're always happy to help you with any issues you encounter. You may want to join our Slack community to engage with us for a more rapid response.
License
Apache-2.0. See LICENSE to learn more.