PHPackages                             uviigideon/should-send-same-site-non - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. uviigideon/should-send-same-site-non

ActiveLibrary[Testing &amp; Quality](/categories/testing)

uviigideon/should-send-same-site-non
====================================

test given useragent and return should send same site none

V1.0(6y ago)1202.9k↑28.5%1MITPHP

Since Jan 16Pushed 6y ago3 watchersCompare

[ Source](https://github.com/uviigideon/shouldSendSameSiteNone)[ Packagist](https://packagist.org/packages/uviigideon/should-send-same-site-non)[ RSS](/packages/uviigideon-should-send-same-site-non/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

shouldSendSameSiteNone
======================

[](#shouldsendsamesitenone)

this php package ship with this little help function

```
\Uvii\SameSiteNone::isSafe($useragent))

```

**return** bool to that indicate if the $useragent is safe for set cookie with SameSite=None

Note
====

[](#note)

The code is implement according to this [pseudocode post](https://www.chromium.org/updates/same-site/incompatible-clients)

Test file is referenced from [linsight/should-send-same-site-none](https://github.com/linsight/should-send-same-site-none/blob/master/README.md) which is a node library to solve this problem.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2315d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98271c83579cec58f962b8bda764853d2db36c56a2cf52393fb38274a0ea00ae?d=identicon)[uviigideon](/maintainers/uviigideon)

---

Top Contributors

[![uviigideon](https://avatars.githubusercontent.com/u/6027418?v=4)](https://github.com/uviigideon "uviigideon (5 commits)")

---

Tags

samesitenonethirdparty cookie

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/uviigideon-should-send-same-site-non/health.svg)

```
[![Health](https://phpackages.com/badges/uviigideon-should-send-same-site-non/health.svg)](https://phpackages.com/packages/uviigideon-should-send-same-site-non)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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