lingxi/new-cookie

Add a application deploy timestamp prefix to cookie name for laravel.
1,498 1
Install
composer require lingxi/new-cookie
Latest Version:v0.0.8
Laravel:5
License:MIT
Last Updated:Nov 15, 2018
Links: GitHub  ·  Packagist
Maintainer: RryLee

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

Install

composer require lingxi/new-cookie

Build Status StyleCI Latest Stable Version Total Downloads License

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',

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

418,291,778 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660

Version History

Version Released Laravel License
v0.0.8 ^5.0 MIT
v0.0.7 5.1.* || 5.2.* || 5.3.* MIT
v0.0.3 5.1.* || 5.2.* || 5.3.* MIT
v0.0.2 5.1.* || 5.2.* || 5.3.* MIT
v0.0.1 5.1.* || 5.2.* || 5.3.* MIT