daddl3 / liip_imagine_template_bundle
Symfony Bundle with image templates for liip Imagine
v0.0.33
2024-06-15 21:04 UTC
Requires
- php: ^8.3
- ext-gd: *
- ext-http: *
- liip/imagine-bundle: ^2.7
- symfony/asset: ^6.3 | ^7
- symfony/config: ^6 | ^7
- symfony/dependency-injection: ^6 | ^7
- symfony/framework-bundle: ^6 | ^7
- symfony/http-client: ^6 | ^7
- symfony/http-kernel: ^6 | ^7
- symfony/twig-bundle: ^6 | ^7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.17
- phpstan/phpstan: ^1.10
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2024-11-18 12:58:03 UTC
README
Liip Imagine Template Symfony Bundle
Liip Integration for Symfony
Getting started
This bundle helps you to use Liip Imagine Bundle
Installation
$ composer requ daddl3/liip_imagine_template_bundle
Config
you have to config liip_imagine like this
liip_imagine:
resolvers:
data:
web_path:
web_root: "%kernel.project_dir%/public"
cache_prefix: media/cache/resolve
loaders:
data:
filesystem:
data_root: "%kernel.project_dir%/data" // important
Avif and Webp
to enable one of them just add those
parameters:
daddl3_liip_imagine_template.avif: true
daddl3_liip_imagine_template.webp: true
Information
Some functions are just for my infrastructure