2017 © Pedro Peláez
 

library laravel-backblaze-b2

Backblaze B2 Cloud Storage for Laravel 5

image

gliterd/laravel-backblaze-b2

Backblaze B2 Cloud Storage for Laravel 5

  • Tuesday, July 3, 2018
  • by mhetreramesh
  • Repository
  • 1 Watchers
  • 4 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 6 Versions
  • 186 % Grown

The README.md

laravel-backblaze-b2

Author Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score Total Downloads, (*1)

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

The Laravel Backblaze B2 Storage Service Provider give provision for for laravel storage to use blackblaze as their storage system. It uses the Backblaze B2 SDK & Flysystem Adapter to communicate with the Backblaze b2 API., (*3)

Install

Via Composer, (*4)

``` bash composer require gliterd/laravel-backblaze-b2, (*5)

In your app.php config file add to the list of service providers:

``` php
\Gliterd\BackblazeB2\BackblazeB2ServiceProvider::class,

Add the following to your filesystems.php config file in the disks section: ``` php 'b2' => [ 'driver' => 'b2', 'accountId' => '', 'applicationKey' => '', 'bucketName' => '', 'bucketId' => '', //optional ],, (*6)

## Using ApplicationKey instead of MasterKey
If you specify only the bucket name, your application key must be the master key.
However, if you specify both bucket name and bucket id, you do not need the master key and can use a single-bucket key.
Fetch your bucket id using the [b2 command line tool](https://www.backblaze.com/b2/docs/quick_command_line.html) `b2 get-bucket <bucketName>` 

## Usage

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

``` php
\Storage::disk('b2')->put('filename.txt', 'My important content');

and ``` php \Storage::disk('b2')->get('filename.txt'), (*7)


## Change log Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## Testing ``` bash $ composer test

Contributing

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

Security

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

Credits

License

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

The Versions

03/07 2018

dev-master

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

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api filesystem storage flysystem backblaze disks

03/07 2018

dev-analysis-XZ3rpP

dev-analysis-XZ3rpP https://github.com/mhetreramesh/flysystem-backblaze

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api filesystem storage flysystem backblaze disks

29/06 2018

dev-develop

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

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api filesystem storage flysystem backblaze disks

29/06 2018

1.1.1

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

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api filesystem storage flysystem backblaze disks

29/06 2018

1.1.0

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

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api filesystem storage flysystem backblaze disks

29/06 2018

1.0.0

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

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api filesystem storage flysystem backblaze disks