amelia/backblaze

Backblaze laravel storage adapter
870 5
Install
composer require amelia/backblaze
Latest Version:v1.2.0
PHP:>=5.6
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,044 8
hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

20,346 12
stechstudio/laravel-vfs-adapter

Virtual Filesystem Storage Adapter for Laravel

29,772 9
piotr-grabowski-elastique/laravel-vfs-adapter

Virtual Filesystem Storage Adapter for Laravel

7 0
saeedvir/laravel-gist-storage

Laravel Storage driver for GitHub Gist - Store files on GitHub Gist using Larave...

6 0