blue32a/laravel-azure-blob-storage
Composer 安装命令:
composer require blue32a/laravel-azure-blob-storage
包简介
Laravel Filesystem using Azure Blob Storage.
README 文档
README
About
Use Azure Blob Storage as file storage for Laravel.
Flysystem Adapter: blue32a/flysystem-azure-blob-storage
Installation
$ composer require blue32a/laravel-azure-blob-storage
Usage
Configure your disk in config/filesystems.php.
The driver is azure-blob.
'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'), ], ],
You can use url(). Requires public read access to the Blob.
Storage::disk('azure-blob')->url($path);
统计信息
- 总下载量: 316
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-09