PHPackages                             cyrixbiz/cookie - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cyrixbiz/cookie

ActiveLibrary

cyrixbiz/cookie
===============

Message for using Cookies

07PHP

Since Oct 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/cryptncyrix/cookie_law_info)[ Packagist](https://packagist.org/packages/cyrixbiz/cookie)[ RSS](/packages/cyrixbiz-cookie/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Cookie Law Info
===============

[](#cookie-law-info)

###### A Cookie Law Info Script with Laravel

[](#a-cookie-law-info-script-with-laravel)

- Use this Cookie \_ Law \_ Script on your own risk. Ask a lawyer for more informations.

### Install the ACL

[](#install-the-acl)

- Composer

    ```
    composer require cyrixbiz/cookie dev-master
    ```
- Edit config\\app and add the following lines

    ```
    'providers' => [
    // ...
    cyrixbiz\cookie\CookieServiceProvider::class,
    // ...
    ];
    ```
- Edit App\\Http\\Kernel and add the following lines

    ```
    protected $middleware = [
      //
    \cyrixbiz\cookie\Http\Middleware\Cookie::class,
    ```

### Config - File

[](#config---file)

- Enable / Disable the Cookie Info

    ###### 'enable' =&gt; true | false

    [](#enable--true--false)
- Choose your mechanism - without or with Javascript

    ###### 'mechainism' =&gt; Redirect | Ajax

    [](#mechainism--redirect--ajax)
- Cookie Name

    ###### 'name' =&gt; 'cyrixbiz\_set\_law\_cookie',

    [](#name--cyrixbiz_set_law_cookie)
- View \_ Layout

    ###### 'layout' =&gt; 'CookieView::layout.message',

    [](#layout--cookieviewlayoutmessage)
- life\_time for the Cookie

    ###### 'life\_time' =&gt; 60,

    [](#life_time--60)
- Tag for the View - On the Fly Creating

    ###### tag =&gt; '&lt;/ body&gt;'

    [](#tag---body)
- Fallback

    ###### fallback =&gt; '' | Fallback - Disallow Cookies

    [](#fallback--httpsgooglede--fallback---disallow-cookies)
- Extern jQuery

    ```
      //You can choose between extern script and manually installed jQuery

    ```

    ###### 'extern\_jQuery' =&gt; true,

    [](#extern_jquery--true)
- Extern bootstrap

    ```
      //You can choose between extern script and manually installed bootstrap

    ```

    ###### 'extern\_bootstrap' =&gt; true,

    [](#extern_bootstrap--true)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/66f7bfeffa779179a41b32620189287937b1a13b53a46158cc175ffff84ee550?d=identicon)[cryptncyrix](/maintainers/cryptncyrix)

### Embed Badge

![Health badge](/badges/cyrixbiz-cookie/health.svg)

```
[![Health](https://phpackages.com/badges/cyrixbiz-cookie/health.svg)](https://phpackages.com/packages/cyrixbiz-cookie)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
