PHP code example of blue32a / laravel-azure-blob-storage
1. Go to this page and download the library: Download blue32a/laravel-azure-blob-storage 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/ */
blue32a / laravel-azure-blob-storage example snippets
'disks' => [
'azure-blob' => [
'driver' => 'azure-blob',
'secure' => true,
'name' => env('AZULE_STORAGE_NAME'),
'key' => env('AZULE_STORAGE_KEY'),
'container' => 'example',
'blob_endpoint' => env('AZULE_STORAGE_BLOB_ENDPOINT'),
'public_endpoint' => env('AZULE_STORAGE_PUBLIC_ENDPOINT'),
],
],
Storage::disk('azure-blob')->url($path);