goez/laravel-native-session
最新稳定版本:1.0.3
Composer 安装命令:
composer require goez/laravel-native-session
包简介
Laravel session driver for PHP native session
README 文档
README
Laravel session driver for PHP native session.
Inspired from stechstudio/laravel-raw-sessions.
You might not need this package
This package only for migration from legacy project, you should not use it in your new project.
Install
To get the latest version of laravel-native-session, simply require the project using Composer:
$ composer require goez/laravel-native-session
Instead, you may of course manually update your require block and run composer update if you so choose:
{
"require": {
"goez/laravel-native-session": "^1.0"
}
}
Include the service provider within config/app.php.
'providers' => [ ... Goez\LaravelNativeSession\ServiceProvider::class, ... ];
Finally, change the session cookie name in config/session.php (same as session.name in php.ini):
return [ ... 'cookie' => 'PHPSESSID', ... ];
License
MIT
统计信息
- 总下载量: 29.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-28