Package Data | |
---|---|
Maintainer Username: | RryLee |
Package Create Date: | 2016-09-10 |
Package Last Update: | 2018-11-15 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-11 15:24:05 |
Package Statistics | |
---|---|
Total Downloads: | 1,497 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
给你的 Cookie 加上部署时间和前缀
composer require lingxi/new-cookie
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',