PHPackages                             shish/microcrud - 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. shish/microcrud

ActiveLibrary[Admin Panels](/categories/admin)

shish/microcrud
===============

A minimal CRUD generating library

v2.5.0(2mo ago)941.8k↓45.5%1MITPHPPHP ^8.4CI passing

Since Mar 18Pushed 2mo ago2 watchersCompare

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

READMEChangelogDependencies (10)Versions (16)Used By (0)

MicroCRUD
=========

[](#microcrud)

A library that you can point at a database table, and it'll give you a bunch of HTML forms for create / read / update / delete actions.

I kept re-implementing (badly) a bunch of code to do this stuff. Instead of implementing it badly a 10th time, I decided to put it into a self-contained library with the union of features.

Currently this uses FFS-PHP's PDO, but it wouldn't be too hard to use vanilla PDO if anybody requested that feature.

```
use \MicroCRUD\{Table, TextColumn, ActionColumn};

class MyTable extends Table {
    public function __construct($db) {
        parent::__construct($db);
        $this->set_columns([
            TextColumn("username", "Username"),
            TextColumn("email", "Email Address"),
            ActionColumn()
        ]);
    }
}

$t = MyTable($db);
print($t->table());
```

```

		[... titles and search fields ...]

		[... contents of the table, in pages ...]

		[... code to add a new entry ...]

```

Notes for anything that might be non-obvious
--------------------------------------------

[](#notes-for-anything-that-might-be-non-obvious)

The InetColumn type supports exact matching for most databases, but with Postgres, it supports range matching (eg searching for "1.2.3.0/24" will return search results including "1.2.3.6"). It'd be nice to support this cross-database, but pragmatically, one person has asked for this feature, they are using postgres as a backend, and postgres makes this trivial :P

Dev Notes
---------

[](#dev-notes)

```
php -S localhost:4242 -t tests

```

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Recently: every ~197 days

Total

14

Last Release

66d ago

Major Versions

v1.0.0 → v2.0.02020-09-20

PHP version history (7 changes)v1.0.0PHP &gt;=7.2

v2.0.0PHP ^7.3

v2.0.3PHP ^7.3 | ^8.0

v2.1.0PHP ^8.0

v2.2.0PHP ^8.1

v2.3.0PHP ^8.2

v2.5.0PHP ^8.4

### Community

Maintainers

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

---

Top Contributors

[![shish](https://avatars.githubusercontent.com/u/40659?v=4)](https://github.com/shish "shish (132 commits)")

---

Tags

generatorcrud

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/shish-microcrud/health.svg)

```
[![Health](https://phpackages.com/badges/shish-microcrud/health.svg)](https://phpackages.com/packages/shish-microcrud)
```

###  Alternatives

[crestapps/laravel-code-generator

An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.

76591.7k1](/packages/crestapps-laravel-code-generator)[brackets/admin-generator

Laravel 8 CRUD generator for brackets/craftable

50190.9k](/packages/brackets-admin-generator)[jordillonch/crud-generator

This bundle generates a nice CRUD

8351.5k](/packages/jordillonch-crud-generator)[ascsoftw/tall-crud-generator

Laravel Package to generate CRUD Files using TALL Stack

887.0k](/packages/ascsoftw-tall-crud-generator)[arkounay/quick-admin-generator-bundle

QAG is a bundle that generates cruds admin for Symfony applications using Doctrine.

2510.4k](/packages/arkounay-quick-admin-generator-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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