Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

goez-tools/laravel-native-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Native-Session

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

About

Laravel session driver for PHP native session

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages