PHPackages                             xtain/symfony-lock-flysystem - 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. xtain/symfony-lock-flysystem

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

xtain/symfony-lock-flysystem
============================

Flysystem implementation for symfony/lock component

v0.9.1(7y ago)015PHPPHP &gt;=5.3.9

Since Apr 25Pushed 7y ago3 watchersCompare

[ Source](https://github.com/XTAIN/symfony-lock-flysystem)[ Packagist](https://packagist.org/packages/xtain/symfony-lock-flysystem)[ RSS](/packages/xtain-symfony-lock-flysystem/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Symfony Lock Flysystem Adapter
==============================

[](#symfony-lock-flysystem-adapter)

This adapter allows you to use any flysystem filesystem instance as store for the [symfony/lock](https://github.com/symfony/lock) component.

Installation
------------

[](#installation)

```
composer require xtain/symfony-lock-flysystem
```

Usage
-----

[](#usage)

```
use XTAIN\Flysystem\Lock\FlysystemStore;
use League\Flysystem\Filesystem;
use League\Flysystem\Adapter\Local;
use Symfony\Component\Lock\Factory;

$filesystem = new Filesystem(new Local(sys_get_temp_dir()));
$factory = new Factory(new FlysystemStore($filesystem));

$lock = $factory->createLock('test', 5);
$lock->acquire();

sleep(4);
$lock->refresh();

sleep(4);
$lock->refresh();
$lock->isExpired() === false;
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

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 ~95 days

Total

2

Last Release

2842d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2603c0ac94b5622ce4c91c5788f4634bccffe2abdacedd5f732627dbd4809a09?d=identicon)[XTAIN](/maintainers/XTAIN)

---

Top Contributors

[![Deltachaos](https://avatars.githubusercontent.com/u/679561?v=4)](https://github.com/Deltachaos "Deltachaos (2 commits)")[![XTAIN-Bot](https://avatars.githubusercontent.com/u/12017599?v=4)](https://github.com/XTAIN-Bot "XTAIN-Bot (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xtain-symfony-lock-flysystem/health.svg)

```
[![Health](https://phpackages.com/badges/xtain-symfony-lock-flysystem/health.svg)](https://phpackages.com/packages/xtain-symfony-lock-flysystem)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)

PHPackages © 2026

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