Download the PHP package intervention/image-symfony without Composer
On this page you can find all versions of the php package intervention/image-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download intervention/image-symfony
More information about intervention/image-symfony
Files in intervention/image-symfony
Package image-symfony
Short Description Symfony Integration of Intervention Image
License MIT
Homepage https://image.intervention.io
Informations about the package image-symfony
Intervention Image Symfony
Symfony Integration for Intervention Image
This package provides an integration to setup Intervention Image easily to your Symfony framework application. Although the use of this integration library is not absolutely necessary, it offers a convenient way of central configuration in the Symfony framework.
Requirements
- Symfony >= 6.4
Installation
In your existing Symfony application you can install this package using Composer.
After successful installation, you can activate the bundle in the file
config/bundes.php
of your application by inserting the following line into
the array.
Configuration
By default, the bundle is configured to use the GD library with Intervention
Image. However, the package also offers other drivers. This and other options of the
library can be easily configured by creating a file config/packages/intervention_image.yaml
and
setting the driver class as follows.
You can choose between the two supplied drivers Intervention\Image\Drivers\Gd\Driver
and
Intervention\Image\Drivers\Imagick\Driver
for example.
You can read more about the different options for auto orientation, decoding animations and blending color.
Getting Started
The integration is now complete and it is possible to access the ImageManager via dependency injection.
Read the official documentation of Intervention Image for more information.
Authors
This library is developed and maintained by Oliver Vogel
Thanks to the community of contributors who have helped to improve this project.
License
Intervention Image Symfony is licensed under the MIT License.