uviigideon/should-send-same-site-non

test given useragent and return should send same site none

Maintainers

Package info

github.com/uviigideon/shouldSendSameSiteNone

pkg:composer/uviigideon/should-send-same-site-non

Statistics

Installs: 203 545

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

V1.0 2020-01-16 02:39 UTC

This package is auto-updated.

Last update: 2026-03-16 23:12:01 UTC


README

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

The code is implement according to this pseudocode post

Test file is referenced from linsight/should-send-same-site-none which is a node library to solve this problem.