PHPackages                             happyproff/yii-processlock - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. happyproff/yii-processlock

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

happyproff/yii-processlock
==========================

Prevent simultaneous scripts execution.

0.0.3(11y ago)2119MITPHPPHP &gt;=5.3

Since Sep 27Pushed 11y ago1 watchersCompare

[ Source](https://github.com/happyproff/yii-processlock)[ Packagist](https://packagist.org/packages/happyproff/yii-processlock)[ RSS](/packages/happyproff-yii-processlock/feed)WikiDiscussions master Synced 1mo ago

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

yii-processlock
===============

[](#yii-processlock)

[![License](https://camo.githubusercontent.com/82558f665f0ffb5bbc2073c4f6c6071f58f84d572294311a10e82bb7e9b5da38/68747470733a2f2f706f7365722e707567782e6f72672f686170707970726f66662f7969692d70726f636573736c6f636b2f6c6963656e73652e737667)](https://packagist.org/packages/happyproff/yii-processlock)

Предотвращение одновременного запуска нескольких копий скрипта.

Использование
-------------

[](#использование)

Зависимость в `composer.json`:

```
"happyproff/yii-processlock": "*"
```

Регистрация компонента приложения:

```
'components' => [
    ...,
    'processLock' => [
        'class' => 'happyproff\YiiProcessLock\ProcessLock',
    ],
    ...
]
```

В консольной команде:

```
Yii::app()->processLock->checkIn('SCRIPT_ID');
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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

Every ~0 days

Total

2

Last Release

4243d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66590a3783d930fd1d36bfdd1c0c87e9ec23226e276e6b06ea05c2a202dff6e5?d=identicon)[happyproff](/maintainers/happyproff)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/happyproff-yii-processlock/health.svg)

```
[![Health](https://phpackages.com/badges/happyproff-yii-processlock/health.svg)](https://phpackages.com/packages/happyproff-yii-processlock)
```

PHPackages © 2026

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