PHPackages                             ferrumfist/locker - 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. [Security](/categories/security)
4. /
5. ferrumfist/locker

ActiveLibrary[Security](/categories/security)

ferrumfist/locker
=================

1.0.0(4y ago)08PHPCI passing

Since Aug 8Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/ferrumfist/locker)[ Packagist](https://packagist.org/packages/ferrumfist/locker)[ RSS](/packages/ferrumfist-locker/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Locking library
===============

[](#locking-library)

PHP library performs resource locking

Installation
============

[](#installation)

```
composer require ferrumfist/locker

```

Usage
=====

[](#usage)

```
$store = new FileStore(__DIR__ . '/stores');
$locker = new Locker($store);
$resource = new LockResource('ResourceName');

if($locker->lock($resource)){
    echo "Resource was successfully locked" . PHP_EOL;
} else {
    echo "Resource could not be locked" . PHP_EOL;
}
```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1470d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14904438?v=4)[ferrum\_fist](/maintainers/ferrumfist)[@ferrumfist](https://github.com/ferrumfist)

---

Top Contributors

[![ferrumfist](https://avatars.githubusercontent.com/u/14904438?v=4)](https://github.com/ferrumfist "ferrumfist (4 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ferrumfist-locker/health.svg)

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

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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