clooder / imagine-bundle
此包已被废弃且不再维护。未建议替代包。
这是一个使用该库并可以猜测谁可以使用远程图片的Symfony2包
v1.0.1
2015-03-12 16:40 UTC
Requires
- imagine/imagine: 0.6.x
- symfony/filesystem: >=2.0.16,~2.0
- symfony/finder: >=2.0.16,~2.0
This package is auto-updated.
Last update: 2020-02-09 13:50:42 UTC
README
此包需要 "liip/imagine-bundle",所以如果您尚未这样做,需要遵循 @liip 安装文档。
安装
composer require clooder/imagine-bundle : 2.*@dev
配置
在您的 AppKernel 中添加
# AppKernel.php $bundles = array( new Clooder\ImagineBundle\ClooderImagineBundle() );
安装完包之后
# app/config/config.yml clooder_imagine: cache_directory: %kernel.root_dir%/../web/uploads #and add in liip configuration : data_loader: clooder_loader