kyong / random-image-s3
此包最新版本(v0.0.1)没有提供许可证信息。
v0.0.1
2019-03-31 03:04 UTC
Requires
- php: >=7.0.0
- intervention/image: ^2.4
- laravel/framework: ~5.5
- league/flysystem-aws-s3-v3: ^1.0
This package is auto-updated.
Last update: 2024-09-29 05:02:24 UTC
README
概述
描述
通过模拟从图像列表中的AWS s3 bucket随机选择图像
演示
use Kyong\RandomImageS3\RandomImage;
RandomImage::makeUrl();
// https:///randomimage/4668c22a-50f8-428f-8de4-25392e7d3e17/w600/h400
安装
composer require kyong/random-image-s3
php artisan vendor:publish --provider="Kyong\RandomImageS3\RandomImageS3ServiceProvider"
php artisan migrate