2017 © Pedro Peláez
 

library laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

image

hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

  • Monday, March 27, 2017
  • by hpolthof
  • Repository
  • 1 Watchers
  • 10 Stars
  • 3,344 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 3 Versions
  • 17 % Grown

The README.md

Backblaze B2 Cloud Storage for Laravel 5

Latest Version on Packagist Total Downloads, (*1)

Backblaze B2 is a great cloud storage system that compares to Amazon S3, but uses lower pricing, so worth the try. ;-) Since I couldn't find a serviceprovider to implement B2 into the Laravel Filesystem, I wrote one myself. Feel free to use it., (*2)

Installation

Via Composer, (*3)

composer require hpolthof/laravel-backblaze

Auto-discovery

By default auto-discovery is disabled. If you want the add this package manually or if you are using Laravel < 5.5, then you should add the ServiceProvider manually., (*4)

In your app.php config file add to the list of service providers:, (*5)

\Hpolthof\Backblaze\BackblazeServiceProvider::class,

Add the following to your filesystems.php config file in the disks section:, (*6)

'b2' => [
    'driver'         => 'b2',
    'accountId'      => env('B2_ACCOUNT_ID'),
    'applicationKey' => env('B2_APP_KEY'),
    'bucketName'     => env('B2_BUCKET'),
],

Now just add your credentials and bucketname into your .env file and you're ready to go!, (*7)

B2_ACCOUNT_ID=
B2_APP_KEY=
B2_BUCKET=

Usage

Just use it as you normally would use the Storage facade., (*8)

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

and, (*9)

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

Credits

License

MIT, (*10)

The Versions

27/03 2017

dev-master

9999999-dev https://github.com/hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

laravel filesystem flysystem b2 backblaze disks

27/03 2017

v0.1.3

0.1.3.0 https://github.com/hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

laravel filesystem flysystem b2 backblaze disks

01/12 2016

v0.1.2

0.1.2.0 https://github.com/hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

  Sources   Download

MIT

The Requires

 

laravel filesystem flysystem b2 backblaze disks