PHPackages                             tractorcow/silverstripe-floc-block - 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. tractorcow/silverstripe-floc-block

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

tractorcow/silverstripe-floc-block
==================================

Blocks Google's FLOC

025PHP

Since Apr 20Pushed 5y ago2 watchersCompare

[ Source](https://github.com/tractorcow/silverstripe-floc-block)[ Packagist](https://packagist.org/packages/tractorcow/silverstripe-floc-block)[ RSS](/packages/tractorcow-silverstripe-floc-block/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

FLOC Blocker
============

[](#floc-blocker)

What it does
------------

[](#what-it-does)

basically this just adds a new HTTP header that prevents FLOC from affecting your site's visitors

```
permissions-policy: interest-cohort=()

```

Install
-------

[](#install)

Install with `composer require tractorcow/silverstripe-floc-block`

Config
------

[](#config)

### env

[](#env)

The module is enabled by default, but you can set this in your `.env` file to specify

This will turn the block on, disabling FLOC (the good thing, what we want).

This is the default option, so you don't normally need to set this.

```
SS_FLOC_BLOCK="true"
```

This will turn the block off, letting FLOC work as normal (the bad thing, what google wants)

```
SS_FLOC_BLOCK="false"
```

### yml

[](#yml)

You can also set the `Enabled` property via yml.

```
---
Name: my-config
After:
  - '#floc-block'
---
SilverStripe\Core\Injector\Injector:
  TractorCow\SilverStripeFLOCBlock\FLOCBlockMiddleware:
    properties:
      Enabled: true
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6a363b2d85dc3e82e73cc9e3a57fc15132920b166c5938ad63a54029b9f94b9?d=identicon)[tractorcow](/maintainers/tractorcow)

---

Top Contributors

[![tractorcow](https://avatars.githubusercontent.com/u/936064?v=4)](https://github.com/tractorcow "tractorcow (3 commits)")

---

Tags

flocsilverstripe

### Embed Badge

![Health badge](/badges/tractorcow-silverstripe-floc-block/health.svg)

```
[![Health](https://phpackages.com/badges/tractorcow-silverstripe-floc-block/health.svg)](https://phpackages.com/packages/tractorcow-silverstripe-floc-block)
```

###  Alternatives

[heyupdate/emoji

Convert unicode and named (i.e. :smile:) Emoji into images

55102.4k3](/packages/heyupdate-emoji)[wotz/unique-codes

Generate unique, random-looking codes

1363.3k](/packages/wotz-unique-codes)[jdsdev/craft-embedder

Generate video embed code.

699.9k](/packages/jdsdev-craft-embedder)[hostnet/entity-tracker-component

Provides an event when a Tracked entity changes

16158.1k4](/packages/hostnet-entity-tracker-component)[glhd/special

1929.4k](/packages/glhd-special)[ramsey/identifier

A PHP library for generating and working with identifiers, including UUIDs, ULIDs, and Snowflakes

603.0k1](/packages/ramsey-identifier)

PHPackages © 2026

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