PHPackages                             netlogix/varnish-allowcookie - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. netlogix/varnish-allowcookie

AbandonedArchivedNeos-package[HTTP &amp; Networking](/categories/http)

netlogix/varnish-allowcookie
============================

Set 'X-Allow-Cookie' header for configured request patterns.

2.1.0(3y ago)110.6kPHPPHP &gt;= 7.4 &lt; 8.3

Since Nov 9Pushed 3y ago3 watchersCompare

[ Source](https://github.com/netlogix/Netlogix.Varnish.AllowCookie)[ Packagist](https://packagist.org/packages/netlogix/varnish-allowcookie)[ RSS](/packages/netlogix-varnish-allowcookie/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Netlogix.Varnish.AllowCookie
============================

[](#netlogixvarnishallowcookie)

This package provides an HTTP Middleware that sets a `X-Allow-Cookie` header for configured request patterns which will set a cookie.

This can be useful when only a select few requests should be able to set a cookie. Varnish can check if the beresp contains a `Set-Cookie` header and remove it if `X-Allow-Cookie` is not set.

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

[](#installation)

`composer require netlogix/varnish-allowcookie`

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

[](#configuration)

The allowed patterns can be configured like this:

```
Netlogix:
  Varnish:
    AllowCookie:
      allowedRequestPathPatterns:
        - '#^/neos#'
        - '#^/some/other/(request|uri)#'
```

Requests staring with `/neos` will be allowed by default.

Tests
-----

[](#tests)

Tests currently require this package to be installed in a Flow environment.

`FLOW_CONTEXT=Testing/Unit ./bin/phpunit -c Packages/Application/Netlogix.Varnish.AllowCookie/phpunit.xml.dist --testsuite="Unit" --bootstrap "Build/BuildEssentials/PhpUnit/UnitTestBootstrap.php"`

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~322 days

Total

4

Last Release

1096d ago

Major Versions

1.0.0 → 2.0.02022-05-23

PHP version history (3 changes)1.0.0PHP ^7.2

2.0.0PHP ^7.4 || ~8.0 || ~8.1

2.1.0PHP &gt;= 7.4 &lt; 8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/667b5107f4c2ea180baa00166c2ee3f2a1b412ce22768d6e81bb09323d1c7fe0?d=identicon)[netlogix](/maintainers/netlogix)

![](https://www.gravatar.com/avatar/124704a0d41c6364ac5773df0c9bedc3a85f902f0826df5f12ff2a4b2a06d520?d=identicon)[paxuclus](/maintainers/paxuclus)

---

Top Contributors

[![paxuclus](https://avatars.githubusercontent.com/u/15905038?v=4)](https://github.com/paxuclus "paxuclus (10 commits)")[![stephanschuler](https://avatars.githubusercontent.com/u/1595908?v=4)](https://github.com/stephanschuler "stephanschuler (1 commits)")[![toni-bessel](https://avatars.githubusercontent.com/u/34022843?v=4)](https://github.com/toni-bessel "toni-bessel (1 commits)")

---

Tags

cookieflowneosvarnish

### Embed Badge

![Health badge](/badges/netlogix-varnish-allowcookie/health.svg)

```
[![Health](https://phpackages.com/badges/netlogix-varnish-allowcookie/health.svg)](https://phpackages.com/packages/netlogix-varnish-allowcookie)
```

###  Alternatives

[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

1151.0M777](/packages/neos-neos)[neos/neos-development-collection

Neos packages in a joined repository for pull requests.

267103.9k1](/packages/neos-neos-development-collection)[neos/media

The Media package

101.2M53](/packages/neos-media)

PHPackages © 2026

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