microstudi / silex-intervention-image
Microstudi/Intervention Image service provider for Silex.
Installs: 16 318
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=5.5.9
- intervention/image: ~2.0
Requires (Dev)
- phpunit/phpunit: ~4.7
- silex/silex: ~2.0
This package is not auto-updated.
Last update: 2024-12-21 20:19:30 UTC
README
Intervention/image service provider for Silex
Requirements
- PHP >= 5.5.9 (same as Silex 2.0)
Install
Using composer:
composer require microstudi/silex-intervention-image
Usage
use Microstudi\Silex\InterventionImage\InterventionImageServiceProvider; $app = new Silex\Application(); $app->register(new InterventionImageServiceProvider) ; $app->run();
Options
intervention.image
- Instance ofIntervention\Image\ImageManager
.intervention.response
- For use ImageManager directly such as$app['intervention.response']($image)
intervention.driver
- Driver used (imagick or gd)
Tests
$ composer install $ vendor/bin/phpunit
Changelog
1.0.0
- First release
1.0.3
- Locked version Silex 1 for 1.0 of this service
2.0.1
- Updated to Silex 2.0
- Removed support for PHP versions lower thant 5.6
LICENSE
The MIT LICENSE (MIT)