PHPackages                             lagman/yii-crud - 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. [Framework](/categories/framework)
4. /
5. lagman/yii-crud

ActiveLibrary[Framework](/categories/framework)

lagman/yii-crud
===============

Yii CRUD utilities

014PHP

Since Aug 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/russianlagman/yii-crud)[ Packagist](https://packagist.org/packages/lagman/yii-crud)[ RSS](/packages/lagman-yii-crud/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii CRUD Actions
================

[](#yii-crud-actions)

### Usage examples

[](#usage-examples)

```
class NewsController extends CController
{
    public $className = 'News';

    public function actions()
    {
        return [
            'create' => [
                'class' => 'vendor.lagman.yii-crud.CreateAction',
                'modelClass' => $this->className,
                'redirectHandler' => function(CActiveRecord $model) {
                    $this->redirect(['view', 'id' => $model->primaryKey]);
                },
            ],
            'update' => [
                'class' => 'vendor.lagman.yii-crud.UpdateAction',
                'modelClass' => $this->className,
                'redirectHandler' => function(CActiveRecord $model) {
                    $this->redirect(['view', 'id' => $model->primaryKey]);
                },
            ],
            'delete' => [
                'class' => 'vendor.lagman.yii-crud.DeleteAction',
                'modelClass' => $this->className,
            ],
            'view' => [
                'class' => 'vendor.lagman.yii-crud.ViewAction',
                'modelClass' => $this->className,
            ],
            'index' => [
                'class' => 'vendor.lagman.yii-crud.IndexAction',
                'modelClass' => $this->className,
            ],
        ];
    }
}
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1297270?v=4)[Vahid G](/maintainers/lagman)[@lagman](https://github.com/lagman)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lagman-yii-crud/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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