Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Large file and Stream download #17

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/vendor
composer.lock
composer.lock
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
`b2-sdk-php` is a client library for working with Backblaze's B2 storage service. It aims to make using the service as
easy as possible by exposing a clear API and taking influence from other SDKs that you may be familiar with.

This package will **cache authorization request** for 1 hour so that you won't receive API Limit from B2.

## Example

This is just a short example, full examples to come on the wiki.
Expand Down Expand Up @@ -79,7 +81,7 @@ $fileList = $client->listFiles([
Installation is via Composer:

```bash
$ composer require cwhite92/b2-sdk-php
$ composer require runcloudio/b2-sdk-php
```

## Tests
Expand Down
16 changes: 12 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"name": "cwhite92/b2-sdk-php",
"description": "A SDK for working with B2 cloud storage.",
"name": "runcloudio/b2-sdk-php",
"description": "An SDK for working with B2 cloud storage.",
"keywords": ["b2", "storage", "backblaze", "cloud", "filesystem", "backup"],
"homepage": "https://github.com/cwhite92/b2-sdk-php",
"homepage": "https://github.com/RunCloudIO/b2-sdk-php",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Chris White",
"email": "[email protected]",
"homepage": "https://cwhite.me"
}, {
"name": "Ahmad Fikrizaman",
"email": "[email protected]",
"homepage": "https://runcloud.io",
"role": "CTO"
}
],
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "^6.1"
"guzzlehttp/guzzle": "^6.1",
"illuminate/cache": ">=5.1.0",
"illuminate/container": ">=5.1.0",
"illuminate/filesystem": ">=5.1.0"
},
"require-dev": {
"phpunit/phpunit": "4.8.*"
Expand Down
2 changes: 2 additions & 0 deletions src/Cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
Loading