PHPackages                             sergiovilar/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sergiovilar/laravel-crud

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sergiovilar/laravel-crud
========================

v0.2.2(10y ago)2223MITPHP

Since Oct 31Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sergiopvilar/laravel-crud)[ Packagist](https://packagist.org/packages/sergiovilar/laravel-crud)[ RSS](/packages/sergiovilar-laravel-crud/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

laravel-crud
============

[](#laravel-crud)

Create CRUDs (Create, Read, Update, Delete) for your models in Laravel 5 and Lumen.

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

[](#installation)

Install via composer:

```
composer require sergiovilar/laravel-crud

```

Copy the contents of the `views` folder to `resources/views`.

### Laravel 5

[](#laravel-5)

Add this line to the `bootstrap/app.php` file before the `return $app;`:

```
new AdminBootstrap('/app/Admin');

```

`/app/Admin` should be the folder where you'll put the CRUDs specification.

Add this line to your `app/http/routes.php` file:

```
Admin::routes();

```

### Lumen

[](#lumen)

Add this line to the `bootstrap/app.php` file before the line containing `$app->group(['namespace' => 'App\Http\Controllers'])`:

```
new AdminBootstrap('/app/Admin', $app);

```

`/app/Admin` should be the folder where you'll put the CRUDs specification.

Add this line to your `app/http/routes.php` file:

```
Admin::routes($app);

```

Usage
-----

[](#usage)

Create a file with the name of the model you want to create the CRUD:

```
touch app/Admin/Car.php

```

Car.php:

```
Admin::model('Car')
->middleware('admin') // Specify an HTTP Middleware to check if the user is logged
->title('Cars') // Title of the page
->columns(function(){ // Columns to list the items in this model
    Column::string('model', 'Model'); // field, label
    Column::integer('year', 'Year');
})->form(function(){
    FormItem::text('model', 'Model'); // field, label
    FormItem::number('year', 'Year');
});

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

4

Last Release

3806d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/680e77e677507f54274cabc890bf31178f926649e657732ea4b8db4afa5d0bf3?d=identicon)[sergiovilar](/maintainers/sergiovilar)

### Embed Badge

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

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

###  Alternatives

[10up/simple-local-avatars

Adds an avatar upload field to user profiles. Generates requested sizes on demand just like Gravatar!

222167.4k6](/packages/10up-simple-local-avatars)[spatie/lighthouse-php

Run Google Lighthouse using PHP

26750.6k2](/packages/spatie-lighthouse-php)[netresearch/composer-patches-plugin

Composer patches plugin

80262.1k7](/packages/netresearch-composer-patches-plugin)[grafana/foundation-sdk

A set of tools, types and libraries for building and manipulating Grafana objects.

21834.3k](/packages/grafana-foundation-sdk)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[verbb/expanded-singles

Extract Single entries to be top-level entries.

51435.0k10](/packages/verbb-expanded-singles)

PHPackages © 2026

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