PHPackages                             vperyod/simple-lock - 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. vperyod/simple-lock

ActiveLibrary[Security](/categories/security)

vperyod/simple-lock
===================

Simple low security access restriction/password protection PSR7 middleware

0.1.0(9y ago)022MITPHPPHP &gt;=5.6.0

Since Jul 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vperyod/vperyod.simple-lock)[ Packagist](https://packagist.org/packages/vperyod/simple-lock)[ Docs](https://github.com/vperyod/vperyod.session-handler)[ RSS](/packages/vperyod-simple-lock/feed)WikiDiscussions develop Synced today

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

\#vperyod.simple-lock Simple *low security* access restriction/password protection PSR7 middleware

[![Latest version](https://camo.githubusercontent.com/0f1828210b91cf1e6114a8ad7654f6d4cdefe8f1dd9089a3a37aec87e79a3941/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76706572796f642f73696d706c652d6c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vperyod/simple-lock)[![Build Status](https://camo.githubusercontent.com/f37988a53d74002795bc50f7519fa580b211d9fe35cdc786dbd585d824d1dd67/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76706572796f642f76706572796f642e73696d706c652d6c6f636b2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vperyod/vperyod.simple-lock)[![Coverage Status](https://camo.githubusercontent.com/7ffdf6eed0022d742e4c2db9162e5101e54c4dde5247438f1bbab1d2fb9bc0cc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f76706572796f642f76706572796f642e73696d706c652d6c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vperyod/vperyod.simple-lock)[![Quality Score](https://camo.githubusercontent.com/9b55a006687cffc3796061ca1ded12193036c0289b7bc8e2a9b776731783a394/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f76706572796f642f76706572796f642e73696d706c652d6c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vperyod/vperyod.simple-lock)

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

[](#installation)

```
composer require vperyod/simple-lock
```

Usage
-----

[](#usage)

```
use Vperyod\SimpleLock\LockHandler;
use Vperyod\SimpleLock\Verify\Password;

if ($_ENV['LOCK']) {
    $password    = new Password($_ENV['LOCK_PW']); // Password Verifier
    $lockHandler = new LockHandler($password);     // Lock Handler Middleware
    $stack->middleware($lockHandler);              // Add middleware early
}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

3623d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64baf5fff415327ccc832998afe54b34ac3c621e401f128a9343d4e0b0a3f9e4?d=identicon)[jnj](/maintainers/jnj)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vperyod-simple-lock/health.svg)

```
[![Health](https://phpackages.com/badges/vperyod-simple-lock/health.svg)](https://phpackages.com/packages/vperyod-simple-lock)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B3.8k](/packages/guzzlehttp-psr7)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)

PHPackages © 2026

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