PHPackages                             pinfort/laravel-cookie-confirm - 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. pinfort/laravel-cookie-confirm

ActiveLibrary

pinfort/laravel-cookie-confirm
==============================

Any website cannot use cookie without agree.

v1.0.0(7y ago)223MITPHPPHP &gt;=7.0.0

Since Jun 25Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

laravel-cookie-confirm
======================

[](#laravel-cookie-confirm)

Any website cannot use cookie without agree.

Basic Usage
-----------

[](#basic-usage)

### Installation

[](#installation)

```
composer require pinfort/laravel-cookie-confirm
```

Attention: Perhaps it is necessary to change the minimum stability of the composer...

### Publish files

[](#publish-files)

```
php artisan vendor:publish
```

You will find three new files.

- resources/lang/vendor/CookieConfirm/en/cookie\_confirm.php
- resources/lang/vendor/CookieConfirm/ja/cookie\_confirm.php
- resources/views/vendor/CookieConfirm/confirm.blade.php
    - This file is main view.
    - You can edit this freely.

### Enable library

[](#enable-library)

Add middleware to your kernel

in App\\Http\\Kernel.php near the line 38

```
 protected $middlewareGroups = [
    'web' => [
        ......
+       \Pinfort\LaravelCookieConfirm\Middleware\Confirm::class,
    ],
 ......
 ];
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2878d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8953dcc153ae0d1994a57fee8ca8cbf2ccdbc9094c646891f87469e622c8f543?d=identicon)[pinfort](/maintainers/pinfort)

---

Top Contributors

[![pinfort](https://avatars.githubusercontent.com/u/19170349?v=4)](https://github.com/pinfort "pinfort (6 commits)")

---

Tags

laravelcookiegdprJoke

### Embed Badge

![Health badge](/badges/pinfort-laravel-cookie-confirm/health.svg)

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

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[glhd/aire

Modern Laravel form builder. Remembers old input, retrieves error messages and comes with beautiful Tailwind-based markup out of the box.

545265.3k7](/packages/glhd-aire)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)[devrabiul/laravel-cookie-consent

A GDPR-compliant cookie consent solution for Laravel applications with fully customizable cookie banners, granular consent control, and enterprise-grade compliance features.

17633.8k1](/packages/devrabiul-laravel-cookie-consent)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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