PHPackages                             rasrobin/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. rasrobin/crud

ActiveLaravel-package

rasrobin/crud
=============

Small framework for creating CRUD pages programmatically.

v0.2.3(7y ago)018MITPHPPHP &gt;=7

Since Jun 15Pushed 7y ago1 watchersCompare

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

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

Small extendable CRUD coding framework
======================================

[](#small-extendable-crud-coding-framework)

**Version 0.2**

The goal of this package is to provide a small extendable framework to create overview and CRUD (Create, Read, Update, Delete) pages for your entities programmatically. When familiar with it, you should be able to create a simple new entity with CRUD functionality under the hour.

The html contains classes to make it instantly look okay with default Bootstrap.

\###1 Dependencies

- Laravel 5.6.x
- Laravel Collective html 5.4
- jQuery 3.x

\###2 Installation Begin by installing this package through Composer. Edit your project's `composer.json` file to require `rasrobin/crud`.

```
composer require "rasrobin/crud": "^0.2.0"

```

Run the following command to make the included javascript assets available.

```
php artisan vendor:publish --tag=public --force

```

### Creating a new entity with CRUD.

[](#creating-a-new-entity-with-crud)

- Create your migration file and create a table with it.
- Create a Model for your entity and have it implement `HasCrud`.
- Create a controller and have it extend `CrudController`.
- In the controller, set the `public $model` tot the Model you created.

```
/**
 * Class BlogController
 */
class BlogController extends CrudController
{
    /**
     * @var HasCrud $model
     */
    public $model = Blog::class;
}

```

- Create a view with the required form fields and have `crudFormTemplate()` in your Model return it's path/name.

```
/**
 * {@inheritdoc}
 */
public static function crudFormTemplate()
{
    return 'rasrobin\blog::blog_form';
}

```

- Create a route for your controller. An example:

```
Route::group(['prefix' => 'admin', 'middleware' => ['web', 'auth']], function(){
    Route::resource('blog', 'Rasrobin\Blog\Controllers\BlogController');
});

```

### Default columns.

[](#default-columns)

### Adding columns.

[](#adding-columns)

### Adding special columns.

[](#adding-special-columns)

### One-to-many entity relationship.

[](#one-to-many-entity-relationship)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

2888d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/830718fb7c006598d179bd660a8478f5770e7418133edc1e2aadf5c6f265276e?d=identicon)[rasrobin](/maintainers/rasrobin)

---

Top Contributors

[![rasrobin](https://avatars.githubusercontent.com/u/13721724?v=4)](https://github.com/rasrobin "rasrobin (17 commits)")

### Embed Badge

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

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

###  Alternatives

[infyomlabs/laravel-generator

InfyOm Laravel Generator

3.8k2.3M13](/packages/infyomlabs-laravel-generator)[laravelrus/sleepingowl

Administrative interface builder for Laravel.

810219.6k3](/packages/laravelrus-sleepingowl)[patricktalmadge/bootstrapper

Twitter Bootstrap markup generator

557407.2k4](/packages/patricktalmadge-bootstrapper)[pingpong/menus

Laravel Menus

70194.4k13](/packages/pingpong-menus)[akaunting/laravel-menu

Menu and sidebar management package for Laravel

38233.8k](/packages/akaunting-laravel-menu)[ngmy/webloyer

Webloyer is a Web UI for managing Deployer deployments

2181.1k](/packages/ngmy-webloyer)

PHPackages © 2026

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