PHPackages                             mdakashmia/laravel-auto-crude - 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. mdakashmia/laravel-auto-crude

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

mdakashmia/laravel-auto-crude
=============================

Laravel Simple Auto Crude Generator

v1.3.0(2y ago)59MITPHPCI passing

Since Jan 8Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/CoderMdAkash/laravel-auto-crude-system-package)[ Packagist](https://packagist.org/packages/mdakashmia/laravel-auto-crude)[ Docs](https://github.com/CoderMdAkash/laravel-auto-crude-system-package)[ RSS](/packages/mdakashmia-laravel-auto-crude/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

Laravel Auto CRUD Generator
===========================

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

Laravel package for generating model-based advanced CRUD scaffold with smart schema detection and dynamic form config.

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

[](#installation)

```
composer require mdakashmia/laravel-auto-crude
```

Laravel package discovery will auto register the service provider.

Command
-------

[](#command)

```
php artisan generate:crude {ModelName} {--table=} {--force}
```

Examples:

```
php artisan generate:crude Post
php artisan generate:crude Category --table=blog_categories
php artisan generate:crude Comment --force
```

What Gets Generated
-------------------

[](#what-gets-generated)

- `app/Http/Controllers/{Model}Controller.php`
- `app/Http/Requests/Store{Model}Request.php`
- `app/Http/Requests/Update{Model}Request.php`
- `config/auto-crude/{model_plural}.php`
- `resources/views/{model-plural}/index.blade.php`
- `resources/views/{model-plural}/create.blade.php`
- `resources/views/{model-plural}/edit.blade.php`
- `resources/views/{model-plural}/show.blade.php`
- `resources/views/{model-plural}/_form.blade.php`
- `resources/views/{model-plural}/field-config.blade.php`
- Route entries in `routes/web.php`

Core CRUD Features
------------------

[](#core-crud-features)

- Create / Read / Update / Delete
- Model-based auto CRUD generation
- Pagination (`per_page`), sorting (`sort_by`, `sort_direction`), search (`q`)
- Column filtering:
    - Date range (`field_from`, `field_to`)
    - Enum/status filters
    - Boolean filters
    - Foreign-key relation filters
- Bulk actions:
    - `delete`
    - `restore` (when soft delete enabled)
    - `force_delete` (when soft delete enabled)
    - `update` (single field/value across selected rows)
- Soft delete support when `deleted_at` exists

Dynamic Form Builder
--------------------

[](#dynamic-form-builder)

- Multiple input type support:
    - `text`, `textarea`, `number`, `date`, `datetime-local`, `select`, `relation-select`, `toggle`, `checkbox`, `file`
- Validation rules are generated into Store/Update request classes
- Conditional field metadata support (`conditional` key)
- Repeatable field support (`repeatable` key)
- Custom field configuration UI:
    - `GET /{resource}/field-config`
    - `POST /{resource}/field-config`
    - User overrides saved in `storage/app/auto-crude/{resource}_fields.json`

Smart Field Detection
---------------------

[](#smart-field-detection)

- DB column type to input mapping
- `enum` columns to dropdown options
- `boolean/tinyint` columns to toggle
- Foreign key columns to relation-select with `exists` validation
- Date/datetime/timestamp columns to date filters
- String/text columns as searchable

Query Parameters (Index)
------------------------

[](#query-parameters-index)

- `q` for global search
- `sort_by`, `sort_direction`
- `per_page`
- `{enum_column}` for enum filter
- `{boolean_column}` for boolean filter
- `{relation_column}` for relation filter
- `{date_column}_from`, `{date_column}_to` for date range
- `trashed=with|only` for soft deleted records

Notes
-----

[](#notes)

- Schema introspection for enum/foreign key/nullability is optimized for MySQL (`information_schema`).
- Use `--force` if you want to overwrite generated files.
- The generator assumes your model namespace is `App\Models`.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance56

Moderate activity, may be stable

Popularity9

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

Every ~0 days

Total

4

Last Release

908d ago

Major Versions

v0.3.0 → v1.3.02024-01-08

### Community

Maintainers

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

---

Top Contributors

[![CoderMdAkash](https://avatars.githubusercontent.com/u/86820955?v=4)](https://github.com/CoderMdAkash "CoderMdAkash (10 commits)")

---

Tags

package-managerlaravellaravel\_auto\_crude\_generate

### Embed Badge

![Health badge](/badges/mdakashmia-laravel-auto-crude/health.svg)

```
[![Health](https://phpackages.com/badges/mdakashmia-laravel-auto-crude/health.svg)](https://phpackages.com/packages/mdakashmia-laravel-auto-crude)
```

###  Alternatives

[stephenjude/filament-blog

Filament Blog Builder

20619.4k](/packages/stephenjude-filament-blog)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11273.0k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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