laasti / gregwar-image-provider
gregwar/image 的联盟/容器服务提供商。
v2.0
2016-04-21 16:39 UTC
Requires
- gregwar/image: ^2.0
- league/container: ^2.0
This package is auto-updated.
Last update: 2024-09-20 23:39:03 UTC
README
gregwar/image 的联盟/容器服务提供商。
安装
composer require laasti/gregwar-image-provider
用法
$container = new League\Container\Container; $container->addServiceProvider('Laasti\GregwarImageProvider\Laasti\GregwarImageProvider'); $container->add('config.gregwarImage', ['cache_dir' => 'your-cache-directory']); $image = $container->get('Gregwar\Image\Image');
贡献
- 将其分支出来!
- 创建您的功能分支:
git checkout -b my-new-feature
- 提交您的更改:
git commit -am '添加一些功能'
- 推送到分支:
git push origin my-new-feature
- 提交拉取请求 :D
历史
更多信息请参阅 CHANGELOG.md。
鸣谢
作者:Sonia Marquette (@nebulousGirl)
许可证
在 MIT 许可证下发布。请参阅 LICENSE.txt 文件。