PHPackages                             crassula/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. crassula/detect-incompatible-samesite-useragents

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

crassula/detect-incompatible-samesite-useragents
================================================

Determine if UserAgent is incompatible with SameSite=None

2.0.0(4y ago)05MITPHPPHP &gt;=7.2

Since Jan 28Pushed 4y agoCompare

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

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

Difference from original package
================================

[](#difference-from-original-package)

This package differs from the original [`skorp/detect-incompatible-samesite-useragents`](https://github.com/skorp/detect-incompatible-samesite-useragents) with minimum PHP version raised to 7.2 and added PHP 8 support.

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 "crassula/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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

1780d ago

Major Versions

0.0.1 → 1.0.02020-01-29

1.0.0 → 2.0.02021-06-24

PHP version history (2 changes)0.0.1PHP ^7.0

2.0.0PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

[![skorp](https://avatars.githubusercontent.com/u/60728?v=4)](https://github.com/skorp "skorp (8 commits)")[![luxemate](https://avatars.githubusercontent.com/u/1465003?v=4)](https://github.com/luxemate "luxemate (2 commits)")

---

Tags

cookiessamesitesafarisamesite cookie

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[skorp/detect-incompatible-samesite-useragents

Determine if UserAgent is incompatible with SameSite=None

122.6M4](/packages/skorp-detect-incompatible-samesite-useragents)[whitecube/laravel-cookie-consent

Register, configure and ask for cookies consent in a EU-compliant way.

489563.9k1](/packages/whitecube-laravel-cookie-consent)[scify/laravel-cookie-guard

A Laravel package that provides a Cookies consent floating window and publishes the Cookies for the different consent categories

13714.3k](/packages/scify-laravel-cookie-guard)[josantonius/cookie

PHP library for handling cookies.

2238.7k4](/packages/josantonius-cookie)[codexshaper/laravel-pwa

Laravel Progressive Web App

153.0k](/packages/codexshaper-laravel-pwa)

PHPackages © 2026

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