PHPackages                             oliezekat/symfony-lock-filetouch - 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. oliezekat/symfony-lock-filetouch

ActiveLibrary

oliezekat/symfony-lock-filetouch
================================

Files touch() storage implementation for the Symfony Lock component

1.0.0(yesterday)01↑2900%GPL-3.0-onlyPHP &gt;=8.1

Since Jul 19Compare

[ Source](https://github.com/oliezekat/symfony-lock-filetouch)[ Packagist](https://packagist.org/packages/oliezekat/symfony-lock-filetouch)[ RSS](/packages/oliezekat-symfony-lock-filetouch/feed)WikiDiscussions Synced today

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

Symfony Lock FileTouch
======================

[](#symfony-lock-filetouch)

A storage implementation for the [Symfony Lock](https://github.com/symfony/lock) component, based on the *PersistingStoreInterface* which **uses touch(), file\_exists(), or filemtime() on empty files within a dedicated directory**.

It supports locking, blocking mode, and auto-release across different applications, provided they use the same directory and the same maximum lifetime.

Lock refresh() requires a TTL that is less than or equal to the maximum lifetime.

Usage
-----

[](#usage)

```
use Oliezekat\SymfonyLockFileTouch\Store;
use Symfony\Component\Lock\Factory;

$store = new Store(/* $locksDirPath, $maxLifeTime */);
$factory = new Factory($store);

$lock = $factory->createLock('test');
if ($lock->acquire()) {
    ...
    $lock->refresh();
}
...
$lock->release();
```

Resources
---------

[](#resources)

- [Symfony Lock documentation](https://symfony.com/doc/current/components/lock.html)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dbd6d0283462719365adb6e33f62164f906d28fdeb0c37c66f113af26733823?d=identicon)[oliezekat](/maintainers/oliezekat)

---

Tags

symfonylock

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/oliezekat-symfony-lock-filetouch/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M1.0k](/packages/statamic-cms)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M592](/packages/shopware-core)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M349](/packages/drupal-core-dev)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k64](/packages/open-dxp-opendxp)[markocupic/calendar-event-booking-bundle

Contao Calendar Event Booking Bundle

135.2k1](/packages/markocupic-calendar-event-booking-bundle)[duncan3dc/console

Create command line php applications using symfony/console

16263.5k2](/packages/duncan3dc-console)

PHPackages © 2026

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