2017 © Pedro Peláez
 

library flysystem-b2

Backblaze adapter for the flysystem filesystem abstraction library. A fork from https://github.com/mhetreramesh/flysystem-backblaze and maintained as separate package.

image

runcloudio/flysystem-b2

Backblaze adapter for the flysystem filesystem abstraction library. A fork from https://github.com/mhetreramesh/flysystem-backblaze and maintained as separate package.

  • Thursday, September 14, 2017
  • by coolcodemy
  • Repository
  • 1 Watchers
  • 1 Stars
  • 197 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 16 Versions
  • 16 % Grown

The README.md

flysystem-b2

This is a fork based on https://github.com/mhetreramesh/flysystem-backblaze. It includes download file stream. Since B2 SDK from original package no longer maintained (Last PR merge is November 2016), I'm including the B2 SDK that I've forked and modified. This package also include ServiceProvider for Laravel., (*1)

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

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., (*3)

Install

Via Composer, (*4)

``` bash $ composer require runcloudio/flysystem-b2, (*5)


## Usage with Laravel If you are using **Laravel 5.4 and below**, add this line to app.php inside list of Service Providers.:

\RunCloudIO\FlysystemB2\BackblazeServiceProvider::class,, (*6)


Starting from Laravel 5.5, they implements **Package Auto Discovery**, so you don't have to add the service provider. Doesn't matter which Laravel version you are using, add the following to your filesystems.php config file in the ```disks``` section:

'b2' => [ 'driver' => 'b2', 'accountId' => '', 'applicationKey' => '', 'bucketName' => '', ],, (*7)


Just use it as you normally would use the Storage facade.

\Storage::disk('b2')->put('test.txt', 'test'), (*8)

and

\Storage::disk('b2')->get('test.txt'), (*9)



## Usage without Laravel ``` php use RunCloudIO\FlysystemB2\BackblazeAdapter; use League\Flysystem\Filesystem; use ChrisWhite\B2\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., (*10)

Testing

bash $ composer test, (*11)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*12)

Security

If you discover any security related issues, please email fikri@runcloud.io instead of using the issue tracker., (*13)

Credits

License

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

The Versions

14/09 2017

dev-master

9999999-dev https://github.com/RunCloudIO/flysystem-b2

Backblaze adapter for the flysystem filesystem abstraction library. A fork from https://github.com/mhetreramesh/flysystem-backblaze and maintained as separate package.

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

14/09 2017

1.1.2

1.1.2.0 https://github.com/RunCloudIO/flysystem-b2

Backblaze adapter for the flysystem filesystem abstraction library. A fork from https://github.com/mhetreramesh/flysystem-backblaze and maintained as separate package.

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

26/08 2017

1.1.1

1.1.1.0 https://github.com/RunCloudIO/flysystem-b2

Backblaze adapter for the flysystem filesystem abstraction library. A fork from https://github.com/mhetreramesh/flysystem-backblaze and maintained as separate package.

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

24/08 2017

1.1.0

1.1.0.0 https://github.com/RunCloudIO/flysystem-b2

Backblaze adapter for the flysystem filesystem abstraction library. A fork from https://github.com/mhetreramesh/flysystem-backblaze and maintained as separate package.

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

29/07 2017

dev-develop

dev-develop https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

29/07 2017

1.0.9

1.0.9.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

27/07 2017

1.0.8

1.0.8.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

02/03 2017

1.0.7

1.0.7.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

02/03 2017

dev-feature/Directory_Functions

dev-feature/Directory_Functions https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

01/03 2017

1.0.6

1.0.6.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

27/08 2016

1.0.5

1.0.5.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

27/08 2016

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

27/08 2016

1.0.4

1.0.4.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

27/08 2016

1.0.3

1.0.3.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

26/08 2016

1.0.1

1.0.1.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze

26/08 2016

1.0.0

1.0.0.0 https://github.com/mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

api filesystem client flysystem backblaze