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

ActiveLaravel-package[Framework](/categories/framework)

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

Small framework for creating CRUD pages programmatically.

v0.2.3(8y 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 2w 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 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

2934d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13721724?v=4)[rasrobin](/maintainers/rasrobin)[@rasrobin](https://github.com/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

[microweber/microweber

New generation CMS with drag and drop

3.4k13.9k1](/packages/microweber-microweber)[pingpong/modules

Laravel Modules

576190.1k13](/packages/pingpong-modules)[lms-laravel/lms-laravel

The Laravel Framework.

4931.8k](/packages/lms-laravel-lms-laravel)[asgardcms/core-module

The core module for AsgardCMS. This is required for every install.

8343.7k27](/packages/asgardcms-core-module)[jorenvanhocht/blogify

Laravel 5 blog package

1791.1k](/packages/jorenvanhocht-blogify)[pingpong/sky

An Extra Laravel Component

216.3k1](/packages/pingpong-sky)

PHPackages © 2026

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