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(2y ago)110.6kPHPPHP &gt;= 7.4 &lt; 8.3

Since Nov 9Pushed 2y 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 yesterday

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 80% 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

1042d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M383](/packages/php-http-curl-client)

PHPackages © 2026

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