skydiver / laravel-flysystem-b2 by skydiver

Adds Backblaze B2 driver to use with Laravel filesystem
3,059
8
2
Package Data
Maintainer Username: skydiver
Maintainer Contact: labs@flydev.com (Martin M.)
Package Create Date: 2016-11-05
Package Last Update: 2016-11-05
Language: PHP
License: MIT
Last Refreshed: 2022-05-17 15:07:05
Package Statistics
Total Downloads: 3,059
Monthly Downloads: 84
Daily Downloads: 0
Total Stars: 8
Total Watchers: 2
Total Forks: 1
Total Open Issues: 1

flysystem-b2

Introduction

Adds Backblaze B2 driver to use with Laravel filesystem

Installation

composer require skydiver/laravel-flysystem-b2

Configuration

After installing, register the Skydiver\LaravelFlysystemB2\B2ServiceProvider in your config/app.php configuration file:

'providers' => [
    // Other service providers...
    Skydiver\LaravelFlysystemB2\B2ServiceProvider::class,
],

You will also need to add the new driver in your config/filesystems.php configuration file:

'b2' => [
    'driver'         => 'b2',
    'bucket'         => '<my bucket name>',
    'accountId'      => '<b2 account id>',
    'applicationKey' => '<b2 application key>'
],