PHPackages                             lingxi/new-cookie - 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. lingxi/new-cookie

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

lingxi/new-cookie
=================

Add a application deploy timestamp prefix to cookie name for laravel.

v0.0.8(7y ago)11.5kMITPHP

Since Sep 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/LingxiTeam/new-cookie)[ Packagist](https://packagist.org/packages/lingxi/new-cookie)[ RSS](/packages/lingxi-new-cookie/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

> 给你的 Cookie 加上部署时间和前缀

Install
=======

[](#install)

composer require lingxi/new-cookie

[![Build Status](https://camo.githubusercontent.com/22fa5118d514a78be0f2ba1fd7d22a957cab2b40e1adc4c5d36a07f203988b81/68747470733a2f2f7472617669732d63692e6f72672f4c696e6778695465616d2f6e65772d636f6f6b69652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/LingxiTeam/new-cookie.svg?branch=master)[![StyleCI](https://camo.githubusercontent.com/e7990bdacffffba70abf87252013b2409c7c98ebdb3a25a6177598e54ccb39b7/68747470733a2f2f7374796c6563692e696f2f7265706f732f36373836383437392f736869656c64)](https://styleci.io/repos/67868479)[![Latest Stable Version](https://camo.githubusercontent.com/43a4ca3785f83512ed078bc550494443e7442b4b99665d965e981ea3c997133d/68747470733a2f2f706f7365722e707567782e6f72672f6c696e6778692f6e65772d636f6f6b69652f762f737461626c65)](https://packagist.org/packages/lingxi/new-cookie)[![Total Downloads](https://camo.githubusercontent.com/78610eb4a4ad8069eea916969a12e82ef6e523c2deaf88fa487bab2cdaa3414a/68747470733a2f2f706f7365722e707567782e6f72672f6c696e6778692f6e65772d636f6f6b69652f646f776e6c6f616473)](https://packagist.org/packages/lingxi/new-cookie)[![License](https://camo.githubusercontent.com/e6003d51a576f386401a9d4888476464c0fbf61d954f1d66a264fdb095204bc8/68747470733a2f2f706f7365722e707567782e6f72672f6c696e6778692f6e65772d636f6f6b69652f6c6963656e7365)](https://packagist.org/packages/lingxi/new-cookie)

Config
======

[](#config)

In app.php config file.

```
comment
// Illuminate\Cookie\CookieServiceProvider::class,
// 'Cookie' => 'Illuminate\Support\Facades\Cookie',

add
Lingxi\Cookie\CookieServiceProvider::class,
'Cookie' => Lingxi\Cookie\CookieFacade::class,

```

In session.php

```
add
'key_prefix' => 'lingxi',

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~199 days

Total

5

Last Release

2785d ago

### Community

Maintainers

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

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

---

Top Contributors

[![yekz](https://avatars.githubusercontent.com/u/3784533?v=4)](https://github.com/yekz "yekz (1 commits)")

### Embed Badge

![Health badge](/badges/lingxi-new-cookie/health.svg)

```
[![Health](https://phpackages.com/badges/lingxi-new-cookie/health.svg)](https://phpackages.com/packages/lingxi-new-cookie)
```

###  Alternatives

[illuminate/session

The Illuminate Session package.

9939.3M829](/packages/illuminate-session)[illuminate/cookie

The Illuminate Cookie package.

244.6M135](/packages/illuminate-cookie)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

673139.5k6](/packages/spatie-laravel-export)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[illuminate/routing

The Illuminate Routing package.

1419.2M2.9k](/packages/illuminate-routing)

PHPackages © 2026

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