A backblaze adapter which can be used with flysystem(http://flysystem.thephpleague.com/)
Clone or download
Pull request Compare This branch is 10 commits behind gliterd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.scrutinizer.yml
.travis.yml
CHANGELOG.md
CONDUCT.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE
PULL_REQUEST_TEMPLATE.md
README.md
composer.json
phpunit.hhvm.xml
phpunit.php
phpunit.xml

README.md

flysystem-backblaze

Author Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Visit (https://secure.backblaze.com/b2_buckets.htm) and get your account id, application key.

The Backblaze adapter gives the possibility to use the Flysystem filesystem abstraction library with backblaze. It uses the Backblaze B2 SDK to communicate with the API.

Install

Via Composer

$ composer require mhetreramesh/flysystem-backblaze

Usage

use Mhetreramesh\Flysystem\BackblazeAdapter;
use League\Flysystem\Filesystem;
use BackblazeB2\Client;

$client = new Client($accountId, $applicationKey);
$adapter = new BackblazeAdapter($client,$bucketName);

$filesystem = new Filesystem($adapter);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email mhetreramesh@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.