PHPackages                             ovunctukenmez/samesite-cookie-setter - 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. ovunctukenmez/samesite-cookie-setter

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

ovunctukenmez/samesite-cookie-setter
====================================

This class enables samesite cookies.

1114.4k6PHP

Since Apr 2Pushed 6y ago2 watchersCompare

[ Source](https://github.com/ovunctukenmez/SameSiteCookieSetter)[ Packagist](https://packagist.org/packages/ovunctukenmez/samesite-cookie-setter)[ RSS](/packages/ovunctukenmez-samesite-cookie-setter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

SameSiteCookieSetter
====================

[](#samesitecookiesetter)

This PHP class enables samesite supported cookies by modifying header created by setcookie() function.
As of php version 7.3.0, new signature of setcookie() function exists.
To support all php versions, this class use same parameters of new setcookie() signature. The browser agent is also checked against incompatible list of browsers.

Composer
--------

[](#composer)

```
composer require ovunctukenmez/samesite-cookie-setter

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity34

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/6099553?v=4)[ovunc tukenmez](/maintainers/ovunctukenmez)[@ovunctukenmez](https://github.com/ovunctukenmez)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ovunctukenmez-samesite-cookie-setter/health.svg)

```
[![Health](https://phpackages.com/badges/ovunctukenmez-samesite-cookie-setter/health.svg)](https://phpackages.com/packages/ovunctukenmez-samesite-cookie-setter)
```

###  Alternatives

[ip2location/ip2location-io-php

IP2Location.io PHP SDK to get geolocation info from IPv4 and IPv6 address.

238.1k2](/packages/ip2location-ip2location-io-php)[namelesscoder/inline-page-editing

Edit content elements directly in page module without switching views

214.8k](/packages/namelesscoder-inline-page-editing)

PHPackages © 2026

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