Laravel adapter for Microsoft Azure Blob Storage
composer require xray/azure-storage-laravel
Add these new settings to your filesystem.php
file
'disks' => [
...
'azure' => [
'driver' => 'azure',
'account' => env('AZURE_STORAGE_ACCOUNT'),
'directory' => env('AZURE_STORAGE_DIRECTORY'),
'application' => env('AZURE_STORAGE_APPLICATION'),
'secret' => env('AZURE_STORAGE_SECRET'),
'container' => env('AZURE_STORAGE_CONTAINER'),
// Optional parameters
'options' => [
'authentication' => Xray\AzureStoragePhpSdk\Authentication\MicrosoftEntraId::class,
'url' => env('AZURE_STORAGE_URL'),
'secure' => env('AZURE_STORAGE_SECURE', true),
],
],
],
This project is licensed under the MIT License.