mrubiosan/flysystem-url
最新稳定版本:v1.0.0
Composer 安装命令:
composer require mrubiosan/flysystem-url
包简介
Flysystem URL generation from Cloud providers like Aws S3 and Azure Blob
README 文档
README
Extends Flysystem adapters to include a URL generating method.
Supports:
- AWS S3 (and providers with S3 compatible APIs)
- Azure Blob Storage
- Google Cloud Storage
Usage
$s3Client = new \Aws\S3\S3Client([//AWS client config...]); $urlS3Adapter = new \Mrubiosan\FlyUrl\Adapter\UrlAwsS3Adapter($s3Client, 'mybucket'); $urlFilesystem = new \Mrubiosan\FlyUrl\Filesystem\UrlFilesystem($urlS3Adapter); echo $urlFilesystem->getUrl('my/s3/file');
Available adapters:
- Mrubiosan\FlyUrl\Adapter\UrlAwsS3Adapter
- Mrubiosan\FlyUrl\Adapter\UrlAzureBlobStorageAdapter
- Mrubiosan\FlyUrl\Adapter\UrlGoogleStorageAdapter
统计信息
- 总下载量: 3.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2019-04-03