承接 k1low/imgin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

k1low/imgin

最新稳定版本:v0.0.5

Composer 安装命令:

composer require k1low/imgin

包简介

Image manipulation directory

README 文档

README

Install

$ composer -sdev create-project k1low/imgin ./app/webroot/img
...

Writing lock file
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? Y

Usage (File)

Original image access

/img/foo/bar/large.jpg

Resized cache image access

/img/100x120/foo/bar/large.jpg

Clear cache image

$ php app/webroot/img/imgin.php clearcache /path/to/app/webroot/img/foo/bar/large.jpg

Clear all cache image

$ php app/webroot/img/imgin.php clearcache --all

Usage (S3)

Original image

https://s3-ap-northeast-1.amazonaws.com/s3-bucket-name/foo/bar/large.jpg

Original "cache" image access

/img/foo/bar/large.jpg

Resized cache image access

/img/100x120/foo/bar/large.jpg

Clear cache image

$ php app/webroot/img/imgin.php clearcache /path/to/app/webroot/img/foo/bar/large.jpg

Clear all cache image

TODO

Requirement

License

under MIT License

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-23