larasoft-io/cookie-popup

1.1 2021-04-07 12:42 UTC

This package is auto-updated.

Last update: 2024-10-08 16:05:36 UTC


README

GitHub Workflow Status styleci

Packagist Packagist Packagist

Package description: CHANGE ME

Installation

Install via composer

composer require larasoft-io/cookie-popup

Publish package assets

php artisan vendor:publish --provider="LarasoftIo\CookiePopup\CookiePopupServiceProvider"

Usage

  • Add \LarasoftIo\CookiePopup\Facades\CookiePopup in config/app.php aliases array:
'aliases' => [
    ...,
    'CookiePopup' => \LarasoftIo\CookiePopup\Facades\CookiePopup::class
]
  • Include {!! CookiePopup::generate() !!} on your view to show popup. That's it.

Update config/cookie-popup.php according to your needs.

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits