PHPackages                             fida/laravel-crud-generator - 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. fida/laravel-crud-generator

ActiveLibrary[Framework](/categories/framework)

fida/laravel-crud-generator
===========================

Laravel CRUD Generator package

v1.0.0(6d ago)218—0%1MITPHPPHP ^8.2

Since Mar 15Pushed 5d agoCompare

[ Source](https://github.com/sayedahmadfida/Pilot)[ Packagist](https://packagist.org/packages/fida/laravel-crud-generator)[ RSS](/packages/fida-laravel-crud-generator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel CRUD Generator (Pilot)
==============================

[](#laravel-crud-generator-pilot)

[![Laravel](https://camo.githubusercontent.com/934c60d4b198c50fe53587c7ef11138695a83b6f668b40ef8f995dab4ac7b805/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d3130253230253743253230313125323025374325323031322d726564)](https://camo.githubusercontent.com/934c60d4b198c50fe53587c7ef11138695a83b6f668b40ef8f995dab4ac7b805/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d3130253230253743253230313125323025374325323031322d726564)[![PHP](https://camo.githubusercontent.com/8e616b32ea6d2562125d6120fddeedd8bddd16548f82d100ebe6a50980445733/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382532422d626c7565)](https://camo.githubusercontent.com/8e616b32ea6d2562125d6120fddeedd8bddd16548f82d100ebe6a50980445733/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382532422d626c7565)[![License](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)[![Composer](https://camo.githubusercontent.com/6c9427f242860ff42ef17b8f54370aeb636c2bdb8f89985f462caf0a22844ddb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6d706f7365722d5061636b6167652d6f72616e6765)](https://camo.githubusercontent.com/6c9427f242860ff42ef17b8f54370aeb636c2bdb8f89985f462caf0a22844ddb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6d706f7365722d5061636b6167652d6f72616e6765)

Laravel CRUD Generator (Pilot) is a simple Laravel package that helps developers quickly configure an admin panel and generate a ready-to-use CRUD system.

This package installs via Composer and provides two Artisan commands that automatically configure an admin layout and generate a full CRUD module with AJAX functionality.

---

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

[](#installation)

First create a new Laravel project:

```
laravel new my-project
```

Move into the project directory:

```
cd my-project

```

Install the package via Composer:

```
composer require fida/laravel-crud-generator
```

---

Available Commands
==================

[](#available-commands)

After installing the package, two Artisan commands will be available:

```
php artisan pilot:config
php artisan pilot:crud

```

---

AdminLTE Configuration
======================

[](#adminlte-configuration)

Run the following command:

```
php artisan pilot:config
```

This command configures **AdminLTE v4** inside the Laravel project and creates the following files:

```
resources/views/layouts/app.blade.php
resources/views/layouts/partials/head.blade.php
resources/views/layouts/partials/header.blade.php
resources/views/layouts/partials/sidebar.blade.php
resources/views/layouts/partials/script.blade.php
resources/views/layouts/partials/footer.blade.php
public/assets/js/general.js

```

After these files are created, **AdminLTE v4 will be fully configured and ready to use**.

---

CRUD Generator
==============

[](#crud-generator)

Run the CRUD generation command:

```
php artisan pilot:crud Product
```

This command generates the following files:

```
app/Http/Controllers/ProductController.php
app/Http/Requests/ProductRequest.php
app/Models/Product.php

database/migrations/2026_03_15_183116_create_products_table.php

public/assets/js/product.js

resources/views/pages/product/index.blade.php
resources/views/pages/product/create.blade.php
resources/views/pages/product/edit.blade.php
resources/views/pages/product/table.blade.php

```

It will also automatically create a **products route** inside the `web.php` file.

Example:

```
Route::resource('products', ProductController::class);
```

---

Database Migration
==================

[](#database-migration)

Run the migration command:

```
php artisan migrate
```

This will create the products table in your database.

---

Run Laravel Server
==================

[](#run-laravel-server)

Start the Laravel development server:

```
php artisan serve
```

Now open your browser and go to:

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

```

Your **CRUD system is now fully functional**.

---

Customizing the CRUD
====================

[](#customizing-the-crud)

You can add more columns to your table.

### Step 1 — Update Migration

[](#step-1--update-migration)

Add your required columns in the migration file.

### Step 2 — Update Create Form

[](#step-2--update-create-form)

Add inputs inside:

```
resources/views/pages/create.blade.php

```

### Step 3 — Frontend Validation

[](#step-3--frontend-validation)

```
public/assets/js/product.js

```

Example validation:

```
$('#create-product-form').validate({

    rules: {
        product: { required: true },
        // more fields
    },

    submitHandler: (form) => {

    }

});
```

### Step 4 — Backend Validation

[](#step-4--backend-validation)

Add validation rules inside:

```
app/Http/Requests/ProductRequest.php

```

Example validation:

```
public function rules(): array
{
    return [
        'product' => 'required|string|max:255',
    ];
}

```

---

Editing Records
===============

[](#editing-records)

To support editing functionality, update:

```
resources/views/pages/product/edit.blade.php

```

Add inputs and validation rules according to your requirements.

---

AJAX Based CRUD
===============

[](#ajax-based-crud)

The generated CRUD system works using **AJAX requests**, which provides:

- Faster interaction
- No page reload
- Better user experience

---

Template Flexibility
====================

[](#template-flexibility)

Although this package configures **AdminLTE v4**, you can replace it with **any other admin template** based on your project needs.

---

License
=======

[](#license)

This package is open-source and available under the **MIT License**.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance99

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

6d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20c917d12d834ea2e0dfc3bcd682d0cfce3b9a672af6ec155d8d6c8c6aff82da?d=identicon)[sayedahmadfida](/maintainers/sayedahmadfida)

---

Top Contributors

[![sayedahmadfida](https://avatars.githubusercontent.com/u/105707090?v=4)](https://github.com/sayedahmadfida "sayedahmadfida (22 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k65.4M154](/packages/laravel-telescope)[spiral/roadrunner

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

8.4k11.6M74](/packages/spiral-roadrunner)[composer/installers

A multi-framework Composer library installer

1.4k133.5M5.5k](/packages/composer-installers)[laravel/dusk

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

1.9k35.9M222](/packages/laravel-dusk)[laravel/fortify

Backend controllers and scaffolding for Laravel authentication.

1.7k38.8M190](/packages/laravel-fortify)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.0M101](/packages/cakephp-chronos)

PHPackages © 2026

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