Download the PHP package intervention/image-tempest without Composer
On this page you can find all versions of the php package intervention/image-tempest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download intervention/image-tempest
More information about intervention/image-tempest
Files in intervention/image-tempest
Package image-tempest
Short Description Tempest framework integration of Intervention Image
License MIT
Homepage https://image.intervention.io
Informations about the package image-tempest
Intervention Image Tempest
Tempest framework integration for Intervention Image
This package provides an integration to setup Intervention Image easily to your Tempest application with a publishable configuration.
Requirements
- Tempest >= 3.9
Installation
In your existing Tempest application you can install this package using Composer.
Features
Although Intervention Image can be used with Tempest without this extension, this integration package includes the following features that make image interaction with the framework much easier.
Application-wide configuration
This integration package comes with a global configuration file that is recognized by Tempest. It is therefore possible to store the settings for Intervention Image once centrally and not have to define them individually each time you call the image manager.
The configuration file can be copied to the application with the following command.
The call will publish the configuration file image.config.php to your local application. Here you can set the desired driver and its configuration options for Intervention Image.
The configuration files looks like this.
You can read more about the different options for driver selection, setting options for auto orientation, decoding animations and background color.
Injecting Dependencies
The following code example shows how to inject an image manager into your controller. The instance has already been automatically configured according to the config file. Of course you are not limited to inject into controller.
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 Tempest is licensed under the MIT License.
All versions of image-tempest with dependencies
intervention/image Version ^4.0
tempest/core Version ^3.9
tempest/container Version ^3.9