amelia / backblaze
Backblaze laravel storage adapter
Installs: 857
Dependents: 4
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 3
Open Issues: 1
pkg:composer/amelia/backblaze
Requires
- php: >=5.6
- illuminate/cache: 5.3.* | 5.4.* | 5.5.* | 5.6.*
- illuminate/support: 5.3.* | 5.4.* | 5.5.* | 5.6.*
- mhetreramesh/flysystem-backblaze: ^1.0
This package is auto-updated.
Last update: 2025-09-08 17:57:36 UTC
README
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
).