cedricve / lockfile by cedricve

A session driver which properly locks the file session driver for Laravel
12,266
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-12-22 03:00:14
Package Statistics
Total Downloads: 12,266
Monthly Downloads: 15
Daily Downloads: 1
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',