PHPackages                             mdmsoft/yii2-action-filter - 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. [Search &amp; Filtering](/categories/search)
4. /
5. mdmsoft/yii2-action-filter

ActiveYii2-extension[Search &amp; Filtering](/categories/search)

mdmsoft/yii2-action-filter
==========================

Force entry code to enter

1.0.1(11y ago)32.0k7BSD-3-ClausePHP

Since Nov 2Pushed 11y ago3 watchersCompare

[ Source](https://github.com/mdmsoft/yii2-action-filter)[ Packagist](https://packagist.org/packages/mdmsoft/yii2-action-filter)[ RSS](/packages/mdmsoft-yii2-action-filter/feed)WikiDiscussions master Synced 3w ago

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

yii2-action-filter
==================

[](#yii2-action-filter)

Force entry code to enter to the action.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require mdmsoft/yii2-action-filter "~1.0"

```

for dev-master

```
php composer.phar require mdmsoft/yii2-action-filter "dev-master"

```

or add

```
"mdmsoft/yii2-action-filter": "~1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

After instalation done. Attach filter to Module or Application

```
$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'as access' => [
        'class' => 'mdm\filter\EnterCode',
        'timeout' => 600, // default 300
        'validationCallback' => function ($code, $actionId) {
            return $code === 'bismillah';
        },
        'only' => [
            'default/view', // actions
        ]
    ],
]
```

You can cutomize view of verify controler by setting property `viewFile`

```
    ...
    'as access' => [
        'class' => 'mdm\filter\EnterCode',
        'viewFile' => '@your/views/verify.php',
        ...
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

4253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a5ba97416867dd2bff6c4e2fcd0e52f8b1f8bb7521dcef6b734636009ce834e?d=identicon)[mdmunir](/maintainers/mdmunir)

---

Top Contributors

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

---

Tags

filteryiiaction

### Embed Badge

![Health badge](/badges/mdmsoft-yii2-action-filter/health.svg)

```
[![Health](https://phpackages.com/badges/mdmsoft-yii2-action-filter/health.svg)](https://phpackages.com/packages/mdmsoft-yii2-action-filter)
```

###  Alternatives

[millat/laravel-hooks

The WordPress filter, action system in Laravel

5717.0k](/packages/millat-laravel-hooks)[cyneek/yii2-routes

Routing and filtering extension system for Yii2 framework that emulates the Laravel routing system.

202.1k](/packages/cyneek-yii2-routes)[thrieu/yii2-grid-view-state

Save filters from GridView to session, keep the filter state between pages.

1313.5k1](/packages/thrieu-yii2-grid-view-state)

PHPackages © 2026

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