PHPackages                             c006/yii2-auto-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. [Admin Panels](/categories/admin)
4. /
5. c006/yii2-auto-crud

ActiveYii2-extension[Admin Panels](/categories/admin)

c006/yii2-auto-crud
===================

Adds a model and crud for each table in the database

v2.1(8y ago)35345[1 issues](https://github.com/c006/yii2-auto-crud/issues)MITPHP

Since Aug 8Pushed 8y ago3 watchersCompare

[ Source](https://github.com/c006/yii2-auto-crud)[ Packagist](https://packagist.org/packages/c006/yii2-auto-crud)[ RSS](/packages/c006-yii2-auto-crud/feed)WikiDiscussions master Synced 2d ago

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

Yii2 Auto CRUD
==============

[](#yii2-auto-crud)

**New Version July, 2015**

Now with template support.

Overview
--------

[](#overview)

This extension queries all tables in a connection database (usually db) and creates all models, controllers and views (CRUD) automatically.

Create the database tables first then run this extension and it will create the majority for you.

Demo:

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-source "c006/yii2-auto-crud" "dev-master"

```

or add

```
"c006/yii2-auto-crud": "*"

```

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

Required
--------

[](#required)

Basic `config/web.php`

Advanced `[backend|frontend|common]/config/main.php`

>

```
    'modules'    => [
        'crud' => [
            'class' => 'c006\crud\Module',
        ],
        ...
        ...
    ],

```

Install before using "yii2-auto-crud".

`php composer.phar require --prefer-dist "c006/yii2-submit-spinner" "dev-master"`

Options
-------

[](#options)

No options for this extension

Usage
-----

[](#usage)

Pretty Url's `/crud`

No pretty Url's `index.php?r=crud`

Update default values `vendor/c006/yii2-auto-crud/models/Crud.php`

Errors
------

[](#errors)

Comments / Suggestions
----------------------

[](#comments--suggestions)

Please provide any helpful feedback or requests.

Thanks.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

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

Total

4

Last Release

3157d ago

Major Versions

v1.0.0 → v2.02017-09-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff517e38ea52ce9dd5513ae752ff0af57e315d8b8046edccb987e6a277e3a5e0?d=identicon)[c006](/maintainers/c006)

---

Top Contributors

[![c006](https://avatars.githubusercontent.com/u/7686064?v=4)](https://github.com/c006 "c006 (2 commits)")

---

Tags

yii2extensioncrudgiiwidgets

### Embed Badge

![Health badge](/badges/c006-yii2-auto-crud/health.svg)

```
[![Health](https://phpackages.com/badges/c006-yii2-auto-crud/health.svg)](https://phpackages.com/packages/c006-yii2-auto-crud)
```

###  Alternatives

[schmunk42/yii2-giiant

Gii CRUD generator for Yii 2 Framework

269471.5k17](/packages/schmunk42-yii2-giiant)

PHPackages © 2026

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