PHPackages                             cedricve/lockfile - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. cedricve/lockfile

ActiveLibrary[File &amp; Storage](/categories/file-storage)

cedricve/lockfile
=================

A session driver which properly locks the file session driver for Laravel

v1.0.1(9y ago)213.0k↓80%[1 issues](https://github.com/cedricve/lockfile/issues)MITPHPPHP &gt;=5.4.0

Since Feb 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/cedricve/lockfile)[ Packagist](https://packagist.org/packages/cedricve/lockfile)[ RSS](/packages/cedricve-lockfile/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Lock file
---------

[](#lock-file)

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

History
-------

[](#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.

[laravel/framework#6848](https://github.com/laravel/framework/pull/6848)

Some other topics regarding this issue.

[laravel/framework#7549](https://github.com/laravel/framework/issues/7549)

[laravel/framework#8172](https://github.com/laravel/framework/issues/8172)

Usage
-----

[](#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',

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~127 days

Total

2

Last Release

3298d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1546779?v=4)[Cédric Verstraeten](/maintainers/cedricve)[@cedricve](https://github.com/cedricve)

---

Tags

laravelsessionsessionlock file

### Embed Badge

![Health badge](/badges/cedricve-lockfile/health.svg)

```
[![Health](https://phpackages.com/badges/cedricve-lockfile/health.svg)](https://phpackages.com/packages/cedricve-lockfile)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
