PHPackages                             nattreid/cookie-policy - 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. nattreid/cookie-policy

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

nattreid/cookie-policy
======================

Cookie policy for Nette Framework

2.2.19(3y ago)1515[1 issues](https://github.com/nattreid/cookie-policy/issues)1MITPHPPHP &gt;= 7.1

Since Jun 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nattreid/cookie-policy)[ Packagist](https://packagist.org/packages/nattreid/cookie-policy)[ RSS](/packages/nattreid-cookie-policy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (53)Used By (1)

Cookie Policy pro Nette Framework
=================================

[](#cookie-policy-pro-nette-framework)

Nastavení v **config.neon**

```
extensions:
    cookiePolicy: NAtrreid\CookiePolicy\DI\CookiePolicyExtension

cookiePolicy:
    enable: true
    link: '/adresaStranky'
    analytics: true
    functional: true
    commercial: true
```

Použití
-------

[](#použití)

```
/** @var NAttreid\CookiePolicy\ICookiePolicyFactory @inject */
public $cookiePolicyFactory;

protected function createComponentCookiePolicy() {
    $control = $this->cookiePolicyFactory->create();

    // pro zmenu jazyka
    $control->translator->setLang('cs');

    return $control;
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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

Every ~49 days

Recently: every ~116 days

Total

51

Last Release

1122d ago

Major Versions

1.1.4 → 2.0.02018-06-11

PHP version history (3 changes)1.0.0PHP &gt;= 5.6

1.0.10PHP &gt;= 7.0

1.1.0PHP &gt;= 7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a388aeb3f00b15a3af1c1a5d3a2107c94af1730c6043dd30ce32a63f95ea290?d=identicon)[attreid](/maintainers/attreid)

---

Top Contributors

[![attreid](https://avatars.githubusercontent.com/u/13151440?v=4)](https://github.com/attreid "attreid (1 commits)")

### Embed Badge

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

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

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)

PHPackages © 2026

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