cedricve / lockfile by cedricve

A session driver which properly locks the file session driver for Laravel
12,144
2
2
Package Data
Maintainer Username: cedricve
Maintainer Contact: hello@cedric.ws (Cédric Verstraeten)
Package Create Date: 2017-02-07
Package Last Update: 2017-06-14
Language: PHP
License: MIT
Last Refreshed: 2024-05-02 15:00:55
Package Statistics
Total Downloads: 12,144
Monthly Downloads: 11
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

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