1. Go to this page and download the library: Download itsemon245/laravel-bunny 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/ */
itsemon245 / laravel-bunny example snippets
'bunny'=>[
'driver' => 'bunny',
'storage_zone' => env('BUNNYCDN_STORAGE_ZONE', 'my-storage-zone'),# Name of your storage zone
'pull_zone' => env('BUNNYCDN_PULL_ZONE', 'https://random.b-cdn.net'),#Pull Zone URL
'api_key' => env('BUNNYCDN_API_KEY'), # Use one of the password found in the storage zone.
'region' => env('BUNNYCDN_REGION', \Itsemon245\LaravelBunny\Region::DEFAULT),
'root'=> 'my-files',#Optional, all files will be stored under this directory if specified
]