PHPackages                             jensramakers/laravel-make-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. jensramakers/laravel-make-crud

ActiveLibrary[Framework](/categories/framework)

jensramakers/laravel-make-crud
==============================

laravel make crud command

v1.1.5(3y ago)044PHP

Since Nov 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PS222407/laravel-make-crud)[ Packagist](https://packagist.org/packages/jensramakers/laravel-make-crud)[ RSS](/packages/jensramakers-laravel-make-crud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

Installation
============

[](#installation)

install package via composer

```
composer require jensramakers/laravel-make-crud
```

publish the stubs, add "--force" after the command below to overwrite existing stub files. Usefull when updating this package for example.

```
php artisan custom-stub:publish
```

Install datatables, jquery and fontawesome with npm package manager

```
npm i datatables.net
```

```
npm i datatables.net-dt
```

```
npm i jquery
```

```
npm install --save @fortawesome/fontawesome-free
```

load the packages and define the tables

```
window.$ = window.jQuery = require('jquery');
require('datatables.net');

$('.datatable').DataTable({
    stateSave: true,
    pageLength: 25,
    lengthMenu: [[10, 25, 50, 75, 100, -1], [10, 25, 50, 75, 100, 'All']],
});
```

load styling package and some extra optional css

```
@import '~@fortawesome/fontawesome-free/css/all';
@import "~datatables.net-dt";

.admin-summary-table > td {
    border: 1px solid black;
    border-bottom: none;
    border-top: none;
}

.admin-summary-table tr:nth-child(odd) {
    background-color: white;
}

.admin-summary-table tr:nth-child(even) {
    background-color: lightgrey;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 0;
}

#DataTables_Table_0_length > label > select {
    padding-right: 2.5rem;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 0;
}
```

add this to web.php and dont forget to protect this route with proper middleware

```
Route::get('/admin/modal/deletion/{route}', function ($route) {
  return view('vendor.jensramakers.modal_delete', ['route' => str_replace('\\', '/', $route)])->render();
})->name('admin.deletion.async.modal');
```

Install tailwind elements for modal functionality

Usage
=====

[](#usage)

To create a CRUD page

```
php artisan make:crud
```

Choose a model name, use singular noun. E.g. "Product".
This creates a model, migration, formrequests, route and resource controller.
The route is created in "routes/crud.php", DONT manually add the crud.php file, it will be generated by the first command. To avoid error add below code after you ran the command once to your RouteServiceProvider.php.

```
Route::middleware('web')
    ->group(base_path('routes/crud.php'));
```

You can navigate to the page the generated URL will look something like this

```
http://localhost:8000/admin/products
```

You will get errors when you dont have the RouteAsync and/or FlashMessage package

Alternatively you can edit the stub files and remove the code and add your own

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

7

Last Release

1277d ago

### Community

Maintainers

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

---

Top Contributors

[![PS222407](https://avatars.githubusercontent.com/u/74543766?v=4)](https://github.com/PS222407 "PS222407 (14 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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