$ composer -sdev create-project fusic/imgin ./app/webroot/img
...
Writing lock file
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? Y
$ chmod 777 ./app/webroot/img
$ cp config.localfile.php config.php
/img/foo/bar/large.jpg
/img/100x120/foo/bar/large.jpg
$ php app/webroot/img/imgin.php clearcache /path/to/app/webroot/img/foo/bar/large.jpg
$ php app/webroot/img/imgin.php clearcache --all
$ cp config.s3.php config.php
Please edit the aws authentication information in config.php according to your environment.
https://s3-ap-northeast-1.amazonaws.com/s3-bucket-name/foo/bar/large.jpg
/img/foo/bar/large.jpg
/img/100x120/foo/bar/large.jpg
$ php app/webroot/img/imgin.php clearcache /path/to/app/webroot/img/foo/bar/large.jpg
TODO
under MIT License