PHP code example of skydiver / laravel-flysystem-b2

1. Go to this page and download the library: Download skydiver/laravel-flysystem-b2 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

skydiver / laravel-flysystem-b2 example snippets


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

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