Adds Backblaze B2 driver to use with Laravel filesystem
composer require skydiver/laravel-flysystem-b2
After installing, register the Skydiver\LaravelFlysystemB2\B2ServiceProvider in your config/app.php configuration file:
Skydiver\LaravelFlysystemB2\B2ServiceProvider
config/app.php
'providers' => [ // Other service providers... Skydiver\LaravelFlysystemB2\B2ServiceProvider::class, ],
You will also need to add the new driver in your config/filesystems.php configuration file:
config/filesystems.php
'b2' => [ 'driver' => 'b2', 'bucket' => '<my bucket name>', 'accountId' => '<b2 account id>', 'applicationKey' => '<b2 application key>' ],