PHPackages                             ifc/cookiebar - 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. ifc/cookiebar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ifc/cookiebar
=============

CookieBar do Padrão Digital de Governo adaptado para o framework Laravel

v1.0.0(2y ago)014CC0-1.0JavaScript

Since Apr 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/IFC-DTI/Cookiebar)[ Packagist](https://packagist.org/packages/ifc/cookiebar)[ RSS](/packages/ifc-cookiebar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Cookiebar
=========

[](#cookiebar)

Esta cookiebar foi adaptada do Padrão Digital de Governo para ser utilizada no Laravel 8 ou superior.

### Instalação

[](#instalação)

```
composer require ifc/cookiebar

```

### Configurar url da página da Politica de Privacidade

[](#configurar-url-da-página-da-politica-de-privacidade)

No arquivo .env insira a url da página com a política de privacidade do site:

```
PAGINA_POLITICA_PRIVACIDADE="https://protecaodedados.ifc.edu.br/politica-de-privacidade"

```

### Alteração de textos

[](#alteração-de-textos)

Em seu projeto, utilize o arquivo criado na pasta `./public/js/configuracoes_cookiebar_govbr.json` para modificar o html dos textos da Cookiebar e do pop-up **Configurações avançadas de cookies**.

[![Cookiebar](cookiebar.png)](cookiebar.png)

[![Pop-up Configurações Avançadas](advancedconfig.png)](advancedconfig.png)

### Criar botão para redefinir Cookies

[](#criar-botão-para-redefinir-cookies)

Em um novo botão, utilize a função **\_redefinirCookies()** para abrir a janela de redefinição de cookies após eles já terem sido confirmados, exemplo:

```

    Redefinir Coookies

```

### Padrão Digital de Governo

[](#padrão-digital-de-governo)

Para mais informações sobre o Padrão Digital de Governo acesse .

### Licença

[](#licença)

O Padrão Digital de Governo utiliza as licenças [CC0 1.0 Universal ](https://creativecommons.org/publicdomain/zero/1.0/) e [MIT](https://mit-license.org/).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

760d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a1ebdbe9240bd1aad2ab0db2f560b9183e60c7bd443bd65bcc1dabf0994ead7?d=identicon)[amaral.regis](/maintainers/amaral.regis)

---

Top Contributors

[![regis-amaral](https://avatars.githubusercontent.com/u/118540708?v=4)](https://github.com/regis-amaral "regis-amaral (3 commits)")

---

Tags

cookiecookiebarIFCbrcookiebar

### Embed Badge

![Health badge](/badges/ifc-cookiebar/health.svg)

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

###  Alternatives

[spatie/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law

1.5k4.7M20](/packages/spatie-laravel-cookie-consent)[statikbe/laravel-cookie-consent

Cookie consent modal for EU

213396.7k](/packages/statikbe-laravel-cookie-consent)[oveleon/contao-cookiebar

Contao Cookiebar

63124.1k6](/packages/oveleon-contao-cookiebar)[dirkpersky/typo3-dp_cookieconsent

Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)

36201.3k1](/packages/dirkpersky-typo3-dp-cookieconsent)[xsuchy09/utm-cookie

Utm-Cookie saves utm parameters from url into cookie with defined lifetime (default 7 days). Than cookie (utm) can be used later without parsing google or any other cookies.

1456.1k2](/packages/xsuchy09-utm-cookie)[bizley/cookiemonster

Yii extension to manage cookie warning.

2020.1k1](/packages/bizley-cookiemonster)

PHPackages © 2026

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