New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

amelia/backblaze

Backblaze laravel storage adapter
885 5
Install
composer require amelia/backblaze
Latest Version:v1.2.0
PHP:>=5.6
Laravel:5
License:BSD-3-Clause
Last Updated:Mar 8, 2018
Links: GitHub  ·  Packagist
Maintainer: amelia

Backblaze Laravel Adapter

Setup:

composer require amelia/backblaze

Register Amelia\Backblaze\BackblazeServiceProvider::class, then add a config array in filesystems.php.

'b2' => [
    'driver' => 'b2',
    'key' => env('BACKBLAZE_KEY'),
    'host' => env('BACKBLAZE_HOST'),
    'bucket' => env('BACKBLAZE_BUCKET'),
    'account' => env('BACKBLAZE_ACCOUNT'),
],

host can be set if you want to link directly to files in buckets marked allPublic.

See this handy guide for setting up cloudflare page rules to turn your bucket into a CDN.

Features

  • Caches the auth token, meaning you don't constantly hit the auth endpoint.
  • Refreshes the auth token for long-running processes (like queue:work).

Related Packages

skydiver/laravel-flysystem-b2

Adds Backblaze B2 driver to use with Laravel filesystem

5,082 8
hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

20,355 12
runcloudio/b2-sdk-php

An SDK for working with B2 cloud storage.

2,918 1
obregonco/backblaze-b2

An SDK for working with B2 cloud storage.

36,138 27
bcarrella/backblaze-b2

An SDK for working with B2 cloud storage.

5,357 0

Version History

Version Released PHP Laravel License
v1.2.0 >=5.6 5.3.* | 5.4.* | 5.5.* | 5.6.* BSD-3-Clause
v1.1.0 >=5.6 5.3.* | 5.4.* | 5.5.* BSD-3-Clause
v1.0.1 >=5.6 ~5.3 | ~5.4 BSD-3-Clause
v1.0.0 >=5.6 ~5.3 | ~5.4 BSD-3-Clause