Require this package, with Composer, in the root directory of your project.
$ composer require artisanry/cookie-consent
Laravel Cookie Consent supports optional configuration.
To get started, you'll need to publish all vendor assets:
$ php artisan vendor:publish --provider="Artisanry\CookieConsent\ServiceProvider"
This will create a config/cookie-consent.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
{!! CookieConsent::render() !!}
$ phpunit
If you discover a security vulnerability within this package, please send an e-mail to hello@basecode.sh. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.
Mozilla Public License Version 2.0 (MPL-2.0).