ysaroka / autothumb
AutoThumb,一个用于自动创建缩略图的PHP库
0.1.1
2018-11-10 11:36 UTC
Requires
- php: >=5.4.0
- imanee/imanee: ^1.2
Requires (Dev)
- phpunit/phpunit: ^4.8
This package is not auto-updated.
Last update: 2024-09-25 12:17:36 UTC
README
AutoThumb,一个用于自动创建缩略图的PHP库。
要求
AutoThumb需要PHP >= 5.4,以及以下PHP图像扩展之一:Imagick或GD。
安装
首先确保您已在PHP服务器上安装并启用了Imagick或GD。AutoThumb使用Imanee库,如果系统中未找到Imagick,则会尝试使用GD。
您可以使用Composer包管理器将AutoThumb添加到您的项目中
$ composer require ysaroka/autothumb
入门
使用Composer包管理器在Web服务器的根目录下安装示例项目(在示例中使用的是Apache Web服务器)
$ composer create-project ysaroka/autothumb-demo ./
包含示例项目的存储库在此处可用:ysaroka/autothumb-demo。