-
Install the FHCookieGuardBundle and it's dependencies:
composer require freshheads/cookie-guard-bundle
-
Add the bundle and its dependencies (if not already present) to AppKernel.php:
// in AppKernel::registerBundles() $bundles = [ // ... new FH\Bundle\CookieGuardBundle\FHCookieGuardBundle(), // ... ];
Now the bundle is ready to be configured!