PHPackages                             skorp/detect-incompatible-samesite-useragents - 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. [Security](/categories/security)
4. /
5. skorp/detect-incompatible-samesite-useragents

ActiveLibrary[Security](/categories/security)

skorp/detect-incompatible-samesite-useragents
=============================================

Determine if UserAgent is incompatible with SameSite=None

1.0.1(4y ago)122.6M↓12%5[1 issues](https://github.com/skorp/detect-incompatible-samesite-useragents/issues)[1 PRs](https://github.com/skorp/detect-incompatible-samesite-useragents/pulls)3MITPHPPHP ^7.0 || ^8.0

Since Jan 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/skorp/detect-incompatible-samesite-useragents)[ Packagist](https://packagist.org/packages/skorp/detect-incompatible-samesite-useragents)[ RSS](/packages/skorp-detect-incompatible-samesite-useragents/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (3)

Detect Incompatible SameSite Useragents
=======================================

[](#detect-incompatible-samesite-useragents)

This class tries to determine the incompatible UserAgents for SameSite=None Attribute.

[![](https://camo.githubusercontent.com/3cd59f16fb15832a21ecfd412c5682cf1c76084963af0899259c0337e7018baf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736b6f72702f6465746563742d696e636f6d70617469626c652d73616d65736974652d757365726167656e7473)](https://github.com/skorp/laravel-samesite-incompatible-clients/blob/master/LICENSE)[![Laravel](https://github.com/skorp/detect-incompatible-samesite-useragents/workflows/tests/badge.svg)](https://github.com/skorp/detect-incompatible-samesite-useragents/workflows/tests/badge.svg)

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

[](#installation)

You can install this package via composer using this command:

```
composer require "skorp/detect-incompatible-samesite-useragents"
```

Usage
-----

[](#usage)

```
use Skorp\Dissua\SameSite;

$shouldSendSameSiteNone = SameSite::handle('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130');
if(!$shouldSendSameSiteNone) {
    //remove samesite attribute

}
```

ported from :

#### Links about SameSite Cookie:

[](#links-about-samesite-cookie)

Your feedback is welcome.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~256 days

Total

3

Last Release

1788d ago

Major Versions

0.0.1 → 1.0.02020-01-29

PHP version history (2 changes)0.0.1PHP ^7.0

1.0.1PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ffeb4c00adb61cfa034c035d8fa14a419957f148e1d4ec076114ce53d173e27?d=identicon)[skorp](/maintainers/skorp)

---

Top Contributors

[![skorp](https://avatars.githubusercontent.com/u/60728?v=4)](https://github.com/skorp "skorp (9 commits)")[![Nutickets](https://avatars.githubusercontent.com/u/57409655?v=4)](https://github.com/Nutickets "Nutickets (1 commits)")

---

Tags

cookiessamesitesafarisamesite cookie

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skorp-detect-incompatible-samesite-useragents/health.svg)

```
[![Health](https://phpackages.com/badges/skorp-detect-incompatible-samesite-useragents/health.svg)](https://phpackages.com/packages/skorp-detect-incompatible-samesite-useragents)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

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