PHPackages                             thephongit97/laravel-samesite-clients - 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. thephongit97/laravel-samesite-clients

ActiveLibrary[Security](/categories/security)

thephongit97/laravel-samesite-clients
=====================================

Some user agents are known to be incompatible with the `SameSite=None` attribute. This middleware will try to determine and overwrite the Cookie value.

02PHPCI failing

Since Jan 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/thephongit97/laravel-samesite)[ Packagist](https://packagist.org/packages/thephongit97/laravel-samesite-clients)[ RSS](/packages/thephongit97-laravel-samesite-clients/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel SameSite incompatible clients Middleware
================================================

[](#laravel-samesite-incompatible-clients-middleware)

[![](https://camo.githubusercontent.com/dae082726d7647f320db8f3b65db69b0da5e46238a859a2221abc17c3968a098/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74686570686f6e67697439372f6c61726176656c2d73616d65736974652d696e636f6d70617469626c652d636c69656e7473)](https://github.com/thephongit97/laravel-samesite-incompatible-clients/blob/master/LICENSE)[![Laravel](https://github.com/thephongit97/laravel-samesite-incompatible-clients/workflows/Laravel-Tests/badge.svg)](https://github.com/thephongit97/laravel-samesite-incompatible-clients/workflows/Laravel-Tests/badge.svg)

About
-----

[](#about)

Some user agents are known to be incompatible with the `SameSite=None` attribute.
This middleware for Laravel will try to determine and overwrite the Cookie value.

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

[](#installation)

You can install this package via composer using this command:

```
composer require "thephongit97/laravel-samesite-incompatible-clients"
```

Service provider will register itself.

you can publish the config file to make some changes.

```
php artisan vendor:publish --provider="Skorp\SameSite\SameSiteIncompatibleClientsProvider" --tag=config
```

#### Links about SameSite Cookie:

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

Your feedback is welcome.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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://avatars.githubusercontent.com/u/25999267?v=4)[thephongit97](/maintainers/thephongit97)[@thephongit97](https://github.com/thephongit97)

---

Top Contributors

[![thephongit97](https://avatars.githubusercontent.com/u/25999267?v=4)](https://github.com/thephongit97 "thephongit97 (6 commits)")

### Embed Badge

![Health badge](/badges/thephongit97-laravel-samesite-clients/health.svg)

```
[![Health](https://phpackages.com/badges/thephongit97-laravel-samesite-clients/health.svg)](https://phpackages.com/packages/thephongit97-laravel-samesite-clients)
```

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[sansec/magento2-module-shield

15218.6k](/packages/sansec-magento2-module-shield)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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