setono / twig-cache-purger-bundle
A Symfony bundle that allows you to purge single templates in the Twig cache
Installs: 17 853
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.4
- ext-filter: *
- symfony/config: ^4.4 || ^5.4 || ^6.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.0
- symfony/filesystem: ^4.4 || ^5.4 || ^6.0
- symfony/http-kernel: ^4.4 || ^5.4 || ^6.0
- symfony/twig-bundle: ^4.4 || ^5.4 || ^6.0
- twig/twig: ^2.0 || ^3.0
Requires (Dev)
- matthiasnoback/symfony-dependency-injection-test: ^4.3
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.5
- psalm/plugin-phpunit: ^0.16.1
- psalm/plugin-symfony: ^3.1
- roave/security-advisories: dev-latest
- setono/code-quality-pack: ^2.1.3
This package is auto-updated.
Last update: 2024-12-09 15:55:39 UTC
README
Purge the cache for individual template files instead of removing the whole cache directory.
Installation
To install this bundle, simply run:
composer require setono/twig-cache-purger-bundle
This will install the bundle and enable it if you're using Symfony Flex. If you're not using Flex, add the bundle
manually to bundles.php
instead.
Usage
TODO