alengo / alengo-cache-warmup-bundle
Cache Warmup Bundle
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:sulu-bundle
Requires
- php: ^8.2
- eliashaeussler/cache-warmup: ^4.1
- sulu/sulu: ^2.6
- symfony/config: ^7.2
- symfony/dependency-injection: ^7.2
- symfony/doctrine-messenger: ^7.2
- symfony/framework-bundle: ^7.2
- symfony/http-foundation: ^7.2
- symfony/http-kernel: ^7.2
- symfony/mailer: ^7.2
- symfony/messenger: ^7.2
- symfony/serializer: ^7.2
- symfony/twig-bundle: ^7.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.9
- handcraftedinthealps/zendsearch: ^2.0
- jackalope/jackalope-doctrine-dbal: ^1.10 || ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.4
- phpstan/phpstan-doctrine: ^1.2
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-symfony: ^1.1
- phpstan/phpstan-webmozart-assert: ^1.0
- phpunit/phpunit: ^9.5
- rector/rector: ^1.0.3
- sulu/sulu-rector: ^1.0.0
- symfony/browser-kit: ^7.2
- symfony/console: ^7.2
- symfony/dotenv: ^7.2
- symfony/error-handler: ^7.2
- symfony/monolog-bundle: ^3.8
This package is auto-updated.
Last update: 2025-05-15 22:56:07 UTC
README
- PHP 8.2
- Symfony >=7.0
Install the bundle
Execute the following composer command
composer require alengo/alengo-cache-warmup-bundle
Enable the bundle
Enable the bundle by adding it to the list of registered bundles in the config/bundles.php
file of your project:
return [ /* ... */ Alengo\Bundle\AlengoCacheWarmupBundle\AlengoCacheWarmupBundle::class => ['all' => true], ];
bin/console do:sch:up --force
Configure the Bundle
config/packages/messages.yaml
framework: messenger: transports: async: dsn: '%env(MESSENGER_TRANSPORT_DSN)%' options: queue_name: 'async' routing: 'Alengo\Bundle\AlengoCacheWarmupBundle\Message\SitemapCacheWarmup': async
.env variables to get an email notification when the cache warmup is done
ADMIN_EMAIL=admin@sulu.rocks DEFAULT_SENDER_NAME="Sulu // Notify" DEFAULT_SENDER_MAIL=email@localhost