laasti / gregwar-image-provider
A league/container service provider for 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-10-20 23:48:23 UTC
README
A league/container service provider for gregwar/image.
Installation
composer require laasti/gregwar-image-provider
Usage
$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');
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
See CHANGELOG.md for more information.
Credits
Author: Sonia Marquette (@nebulousGirl)
License
Released under the MIT License. See LICENSE.txt file.