Registry / web-framework / spatie-laravel-cookie-consent

spatie-laravel-cookie-consent

JSON →
library3.5.0phppackagistunverified

Make your Laravel app comply with the crazy EU cookie law

composer require spatie/laravel-cookie-consent
INSTALL
IMPORT
SIG · SPATIE-LARAVEL-COO
S
spatie-laravel-cookie-consent
web-frameworkphpv3.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CookieConsent
use Spatie\CookieConsent\CookieConsent;

Render the cookie consent banner

use Spatie\CookieConsent\CookieConsent; $cookieConsent = new CookieConsent(); echo $cookieConsent->render();
Debug
Known issues
breakingRequires Laravel 5.5+ and PHP 7.0+
fix
Ensure your Laravel and PHP versions meet the minimum requirements
affects: <3.0.0
Upgrade
Version history
3.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
spatie-laravel-cookie-consent — pip install spatie-laravel-cookie-consent · libregistry