PHPackages                             light/yii2-lock-form - 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. light/yii2-lock-form

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

light/yii2-lock-form
====================

yii2 activeform ActiveForm bootstrap loading

1.0.4(7y ago)374.1k51MITJavaScriptPHP &gt;=5.4.0

Since Dec 1Pushed 7y ago3 watchersCompare

[ Source](https://github.com/lichunqiang/yii2-lock-form)[ Packagist](https://packagist.org/packages/light/yii2-lock-form)[ RSS](/packages/light-yii2-lock-form/feed)WikiDiscussions master Synced 2mo ago

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

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Yii2 Lock Form Extension
========================

[](#yii2-lock-form-extension)

[![version](https://camo.githubusercontent.com/eeb4dca08aec560e4efd827ac3fcd64f436d54451beab7413194e86a4621a52d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696768742f796969322d6c6f636b2d666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/light/yii2-lock-form)[![Download](https://camo.githubusercontent.com/4cf607c79f32405c3e46f32f156d125b68103c7fcf5fc4de04dbd09b975d266c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c696768742f796969322d6c6f636b2d666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/light/yii2-lock-form)[![Issues](https://camo.githubusercontent.com/5205b033482cadc4559f7d66c7b69d38d6755aa23ddfea60d325e53bcb62a1d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6c696368756e7169616e672f796969322d6c6f636b2d666f726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/lichunqiang/yii2-lock-form/issues)

Make form submit button disabled when the form submit.

Install
-------

[](#install)

```
$ composer require light/yii2-lock-form=~1.0.2

```

Usage
-----

[](#usage)

Can can depends this in your assets:

> if you depends on `yii2-bootstrap`, you can use `light\widgets\LockBsFormAsset` instead. So can decrease the asset size.

```
class YourAsset extends AssetBundle
{
    //..

    public $depends = [
        //your other depends
        'light\widgets\LockFormAsset'
    ];
}

```

Or directly inject in the view:

```
use light\widgets\LockFormAsset;

LockFormAsset::register($this);

```

License
-------

[](#license)

[![MIT](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

2784d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ead2ef2c9862aa3d75a97de86af1e3cfa919886e8981bf0808cddd93f563777?d=identicon)[light](/maintainers/light)

---

Top Contributors

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

---

Tags

yii2yii2-extensionyii2-lock-formyii2-widgets

### Embed Badge

![Health badge](/badges/light-yii2-lock-form/health.svg)

```
[![Health](https://phpackages.com/badges/light-yii2-lock-form/health.svg)](https://phpackages.com/packages/light-yii2-lock-form)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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