PHPackages                             p7v/disable-floc-middleware - 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. p7v/disable-floc-middleware

ActiveLibrary[HTTP &amp; Networking](/categories/http)

p7v/disable-floc-middleware
===========================

Disable Google's FLoC with help of PSR-15 middleware

1.5.0(2y ago)810[1 issues](https://github.com/p-seven-v/disable-floc-middleware/issues)[1 PRs](https://github.com/p-seven-v/disable-floc-middleware/pulls)MITPHPPHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0CI failing

Since May 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/p-seven-v/disable-floc-middleware)[ Packagist](https://packagist.org/packages/p7v/disable-floc-middleware)[ RSS](/packages/p7v-disable-floc-middleware/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (7)Dependencies (5)Versions (17)Used By (0)

Disable Google's FLoC with PSR-15 middleware
============================================

[](#disable-googles-floc-with-psr-15-middleware)

[![Latest Version on Packagist](https://camo.githubusercontent.com/561a7250b6bf69e34a2c353ba332608cfd84228d3bba8fdba3180c4788a6b034/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7037762f64697361626c652d666c6f632d6d6964646c65776172652e7376673f7374796c653d666c6174)](https://packagist.org/packages/p7v/disable-floc-middleware)

This package will help you disable [Google's FLoC](https://plausible.io/blog/google-floc).

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

[](#installation)

You can install the package via composer:

```
composer require p7v/disable-floc-middleware
```

Usage
-----

[](#usage)

Package provides with single `P7v\DisableFloc\DisableFlocMiddleware` class. It is [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware, thus can be used for any [PSR-15](https://www.php-fig.org/psr/psr-15/) handler. Just include it in chain of your middlewares.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Alex Plekhanov](https://github.com/alexsoft)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance50

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 93% 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 ~82 days

Recently: every ~129 days

Total

13

Last Release

900d ago

PHP version history (6 changes)1.0.0PHP &gt;=7.2.5

1.0.4PHP ^7.2.5 || ~8.0.0 || ~8.1.0

1.1.0PHP ^7.4.0 || ~8.0.0 || ~8.1.0

1.2.0PHP ~8.0.0 || ~8.1.0

1.3.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

1.5.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b007906f72b36ec7614b7a0a5d4455e5e40c2fdfc3c7e4b9b3d605c379664b7?d=identicon)[alexsoft](/maintainers/alexsoft)

---

Top Contributors

[![alexsoft](https://avatars.githubusercontent.com/u/1451894?v=4)](https://github.com/alexsoft "alexsoft (53 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

hacktoberfestmiddlewarepsr-15

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/p7v-disable-floc-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/p7v-disable-floc-middleware/health.svg)](https://phpackages.com/packages/p7v-disable-floc-middleware)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[cakephp/authentication

Authentication plugin for CakePHP

1214.1M106](/packages/cakephp-authentication)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)[sunrise/http-router

A powerful solution as the foundation of your project.

17451.6k10](/packages/sunrise-http-router)[typo3/cms-adminpanel

TYPO3 CMS Admin Panel - The Admin Panel displays information about your site in the frontend and contains a range of metrics including debug and caching information.

115.7M66](/packages/typo3-cms-adminpanel)

PHPackages © 2026

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