cedricve/lockfile

A session driver which properly locks the file session driver for Laravel
12,934 2
Install
composer require cedricve/lockfile
Latest Version:v1.0.1
PHP:>=5.4.0
Maintainer: cedricve

Lock file

A service provider driver which properly locks the file session driver for Laravel.

History

This issue was resolved with a pull request that was never integrated in the Laravel core, because the Laravel team wasn't able to reproduce it.

https://github.com/laravel/framework/pull/6848

Some other topics regarding this issue.

https://github.com/laravel/framework/issues/7549

https://github.com/laravel/framework/issues/8172

Usage

Add to composer.json.

"cedricve/lockfile": "1.0.0",

Load Service Provider in app/config/app.config, immediately after SessionServiceProvider.

'Illuminate\Session\SessionServiceProvider',
'Cedricve\Lockfile\LockfileServiceProvider',

Load the lockfile session provider in app/config/session.php.

'driver' => 'lockfile',