mondaydarknight/libthumbor
最新稳定版本:1.2
Composer 安装命令:
composer require mondaydarknight/libthumbor
包简介
A minimal PHP client for generating thumbor URLs
README 文档
README
A minimal PHP client for generating Thumbor URLs.
Installation
Run the following command to install the library via Composer.
composer require mondaydarknight/libthumbor
This package will be automatically registered using Laravel auto-discovery mechanism, publish the config file of this package with the following command, it'll generate the config file config/thumbor.php with required parameters.
php artisan vendor:publish --provider="Thumbor\ThumborServiceProvider" --tag=config
Usage
use Thumbor\Facades\Thumbor; $url = (string) Thumbor::url('https://dummyimage.com/600x400.jpg') ->resize(100, 100);
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-17