PHPackages                             reflar/cookie-consent - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. reflar/cookie-consent

Abandoned → [fof/cookie-consent](/?search=fof%2Fcookie-consent)Flarum-extension[Utility &amp; Helpers](/categories/utility)

reflar/cookie-consent
=====================

Customizable cookie consent notice

1.1.3(2y ago)72.9k5[1 issues](https://github.com/FriendsOfFlarum/cookie-consent/issues)[2 PRs](https://github.com/FriendsOfFlarum/cookie-consent/pulls)MITJavaScriptCI passing

Since Mar 23Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/cookie-consent)[ Packagist](https://packagist.org/packages/reflar/cookie-consent)[ Docs](https://friendsofflarum.org)[ Fund](https://opencollective.com/fof/donate)[ RSS](/packages/reflar-cookie-consent/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

Cookie Consent by FriendsOfFlarum
=================================

[](#cookie-consent-by-friendsofflarum)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/friendsofflarum/cookie-consent/blob/master/LICENSE.md) [![Latest Stable Version](https://camo.githubusercontent.com/0d91e40ba5582b45ef169f3842d2cba2472ef61ac8d5008b25350fbf56f49ab0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f636f6f6b69652d636f6e73656e742e737667)](https://packagist.org/packages/fof/cookie-consent) [![Total Downloads](https://camo.githubusercontent.com/0b7887ff8b015ca8afd6d995146b75f5999f742eb416de4cd628df07e4db1bc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f662f636f6f6b69652d636f6e73656e742e737667)](https://packagist.org/packages/fof/cookie-consent) [![OpenCollective](https://camo.githubusercontent.com/1903c197bb0307e60d6328653532b8a6b9890b898fbc92e314ab39d699491e74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e636f6c6c6563746976652d666f662d626c75652e737667)](https://opencollective.com/fof/donate)

This extension adds a customizable Cookie Consent pop-up to your Flarum installation. Are you from a country where Cookie Consent laws are in place? Have no fear! We've got you covered!

Installation
------------

[](#installation)

```
composer require fof/cookie-consent
```

Updating
--------

[](#updating)

```
composer update fof/cookie-consent
php flarum cache:clear
```

Configuration
-------------

[](#configuration)

Once enabled, a new modal to configure/customize your desired settings will appear.

Usage
-----

[](#usage)

To get to the settings modal, click the triple dots that appear when hovering your mouse cursor over the "Cookie Consent" extension text as shown below:

[![Cookie Consent Extension Settings](https://camo.githubusercontent.com/253274f3edd8798b083ef0b47045f3ccdda57d1d242f95078061daaa0a2d1cf6/68747470733a2f2f692e696d6775722e636f6d2f784d4141456b542e706e67)](https://camo.githubusercontent.com/253274f3edd8798b083ef0b47045f3ccdda57d1d242f95078061daaa0a2d1cf6/68747470733a2f2f692e696d6775722e636f6d2f784d4141456b542e706e67)

Once the settings modal pop-ups, configure/customize the settings like so:

[![Cookie Consent Extension Configuration](https://camo.githubusercontent.com/10fd2d2c324d0b8bf9b74123066332bd3f1ff2907c54ccd608ea35a53ec6229c/68747470733a2f2f692e696d6775722e636f6d2f4a465a3354334a2e706e67)](https://camo.githubusercontent.com/10fd2d2c324d0b8bf9b74123066332bd3f1ff2907c54ccd608ea35a53ec6229c/68747470733a2f2f692e696d6775722e636f6d2f4a465a3354334a2e706e67)

Once completed, click "Save Changes" and make your way to your forum index.

You should now be presented with a one-time cookie consent notification!

[![Cookie Consent Notification](https://camo.githubusercontent.com/1ae4f3b0ed30bc2cb3197517fa9b7a95ff817827e25f1b3c24f8dba5b7e8a7c7/68747470733a2f2f692e696d6775722e636f6d2f524d76775831562e706e67)](https://camo.githubusercontent.com/1ae4f3b0ed30bc2cb3197517fa9b7a95ff817827e25f1b3c24f8dba5b7e8a7c7/68747470733a2f2f692e696d6775722e636f6d2f524d76775831562e706e67)

Pretty simple right? Now begone heathen!

Testing
-------

[](#testing)

In order to get the Cookie Consent bar to pop-up again, you will have to delete the cookie data related to your site which is named "cookieconsent\_status" or, you can delete ALL of the cookie data related your site (NOT THE ENTIRE BROWSER!!) (See your respected browser manuals for more information about managing cookies). Once removed, refresh your forum index page and it shall appear once more. Repeat the process anytime you wish to change any of the setting and want to see those settings live as you edit them.

Or you can just enter your forum in Incognito Mode (if supported).

Links
-----

[](#links)

- [Source code on GitHub](https://github.com/friendsofflarum/cookie-consent)
- [Report an issue](https://github.com/friendsofflarum/cookie-consent/issues)
- [Download via Packagist](https://packagist.org/packages/fof/cookie-consent)

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance53

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Every ~153 days

Recently: every ~191 days

Total

15

Last Release

818d ago

Major Versions

0.5.0 → 1.0.02021-05-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/1298cdc0b2402a1aa34fb75a254947d655e090d62bd0531311331d369cac934e?d=identicon)[datitisev](/maintainers/datitisev)

![](https://www.gravatar.com/avatar/4415106be37759e15d2f1304df343a37e478dad0f832b6f35860631ffc9b6afb?d=identicon)[Ralkage](/maintainers/Ralkage)

![](https://www.gravatar.com/avatar/887d749e38ce714da8ef0063fa39a5ceb5085cd4fdb1f4bf4bbda28b116ab025?d=identicon)[CDK2020](/maintainers/CDK2020)

---

Top Contributors

[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (18 commits)")[![Ralkage](https://avatars.githubusercontent.com/u/2059356?v=4)](https://github.com/Ralkage "Ralkage (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (12 commits)")[![dsevillamartin](https://avatars.githubusercontent.com/u/6401250?v=4)](https://github.com/dsevillamartin "dsevillamartin (3 commits)")[![DavideIadeluca](https://avatars.githubusercontent.com/u/146922689?v=4)](https://github.com/DavideIadeluca "DavideIadeluca (1 commits)")[![SKevo18](https://avatars.githubusercontent.com/u/39010496?v=4)](https://github.com/SKevo18 "SKevo18 (1 commits)")[![frinkfromthedrink](https://avatars.githubusercontent.com/u/45270931?v=4)](https://github.com/frinkfromthedrink "frinkfromthedrink (1 commits)")[![iPurpl3x](https://avatars.githubusercontent.com/u/18526076?v=4)](https://github.com/iPurpl3x "iPurpl3x (1 commits)")[![katosdev](https://avatars.githubusercontent.com/u/7927609?v=4)](https://github.com/katosdev "katosdev (1 commits)")[![KyrneDev](https://avatars.githubusercontent.com/u/13856015?v=4)](https://github.com/KyrneDev "KyrneDev (1 commits)")

---

Tags

hacktoberfestextensioncookiecustomizableflarumconsentpartialdev

### Embed Badge

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

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

###  Alternatives

[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)[fof/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)

PHPackages © 2026

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