electivegroup / cache-bundle
Elective Cache Bundle
Installs: 1 731
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1.13
- electivegroup/formatter-bundle: 2.0.0
- electivetechnology/security-bundle: ^v0.0.17
- google/cloud-pubsub: ^1.32
- symfony/framework-bundle: 5.*
Requires (Dev)
- phpunit/phpunit: ^6.5
- squizlabs/php_codesniffer: ^3
- symfony/phpunit-bridge: ^4.3|^5.0
This package is auto-updated.
Last update: 2025-02-23 10:17:13 UTC
README
Cache bundle for symfony
Add routes to your routing file:
# app/config/routes.yaml
cache_bundle:
resource: '@ElectiveCacheBundle/Resources/config/routes.yaml'
Add service to your service file:
# app/config/services.yaml
imports:
- { resource: '@ElectiveCacheBundle/Resources/config/services.yaml' }
Add cache subscriptions to your env file, example:
# app/.env
CACHE_SUBSCRIPTIONS=-acl-api-organisation-updated-candidates-api,-acl-api-user-updated-candidates-api