PHP code example of deva7mad / laravel-azure-storage
1. Go to this page and download the library: Download deva7mad/laravel-azure-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/ */
deva7mad / laravel-azure-storage example snippets
Deva7mad\LaravelAzureStorage\AzureStorageServiceProvider::class,
'azure' => [
'driver' => 'azure',
'name' => env('AZURE_STORAGE_NAME'),
'key' => env('AZURE_STORAGE_KEY'),
'container' => env('AZURE_STORAGE_CONTAINER'),
'url' => env('AZURE_STORAGE_URL'),
'prefix' => null,
],
'azure' => [
'driver' => 'azure',
'name' => env('AZURE_STORAGE_NAME'),
'key' => env('AZURE_STORAGE_KEY'),
'container' => env('AZURE_STORAGE_CONTAINER'),
'url' => env('AZURE_STORAGE_URL'),
'prefix' => null,
'endpoint' => env('AZURE_STORAGE_ENDPOINT'),
],
'azure' => [
'driver' => 'azure',
'sasToken' => env('AZURE_STORAGE_SAS_TOKEN'),
'container' => env('AZURE_STORAGE_CONTAINER'),
'url' => env('AZURE_STORAGE_URL'),
'prefix' => null,
'endpoint' => env('AZURE_STORAGE_ENDPOINT'),
],
'azure' => [
'driver' => 'azure',
// Other Disk Options...
'cache' => [
'store' => 'memcached',
'expire' => 600,
'prefix' => 'filecache',
]
],
'azure' => [
'driver' => 'azure',
// Other Disk Options...
'retry' => [
'tries' => 3, // number of retries, default: 3
'interval' => 500, // wait interval in ms, default: 1000ms
'increase' => 'exponential' // how to increase the wait interval, options: linear, exponential, default: linear
]
],