https://github.com/nimbella/nimbella-sdk-php
Nimbella SDK for PHP serverless functions.
https://github.com/nimbella/nimbella-sdk-php
faas nimbella php sdk serverless
Last synced: 8 months ago
JSON representation
Nimbella SDK for PHP serverless functions.
- Host: GitHub
- URL: https://github.com/nimbella/nimbella-sdk-php
- Owner: nimbella
- License: apache-2.0
- Created: 2020-09-03T05:58:13.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-14T15:26:32.000Z (over 5 years ago)
- Last Synced: 2025-01-21T08:26:48.508Z (about 1 year ago)
- Topics: faas, nimbella, php, sdk, serverless
- Language: PHP
- Homepage: https://nimbella.com
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Nimbella SDK for PHP
A PHP library to interact with Nimbella.com services.
## Installation
```
composer require nimbella/nimbella
```
## Usage
```php
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](https://nimbella-community.slack.com/) to engage with us for a more rapid response.
## License
Apache-2.0. See [LICENSE](LICENSE) to learn more.