Developer Experience

CRUD Generator

One Artisan command generates everything you need — controller, service, model, form request, Blade views, Livewire datatable, policy, permissions, and routes. From zero to full CRUD in seconds.

Terminal

$ php artisan module:make-crud Invoice Crm \

--fields="number:string,amount:decimal,status:enum,due_date:date,client_id:foreignId"

Creating CRUD for Invoice in Crm module...

DONE Model created: Modules/Crm/app/Models/Invoice.php

DONE Migration created: create_invoices_table

DONE Controller created: InvoiceController.php

DONE Service created: InvoiceService.php

DONE Form Request created: InvoiceRequest.php

DONE Policy created: InvoicePolicy.php

DONE Datatable created: InvoiceDatatable.php

DONE Views created: index, create, edit, show, form partial

DONE Routes registered in module routes/web.php

DONE Permissions migration created

11 files generated. CRUD for Invoice is ready!

What Gets Generated

Eloquent Model

Model with fillable fields, casts, and relationship stubs.

Migration

Database migration with proper column types parsed from your field definitions.

Controller

Thin controller with index, create, store, edit, update, destroy methods.

Service Class

Business logic layer with create, update, delete methods.

Form Request

Validation rules with custom error messages for store and update.

Policy

Authorization policy with viewAny, view, create, update, delete methods.

Livewire Datatable

Sortable, searchable datatable with bulk actions and pagination.

Blade Views (5)

Index, create, edit, show pages plus a shared form partial.

Permissions Migration

Creates view, create, edit, delete permissions for the resource.

Ready to Build Something Great?

Start for free with our open-source core. No credit card required, no hidden costs. Just powerful tools to build your next Laravel application.

Try Lara Dashboard for Free

Explore every feature live — no sign-up required.

Launch Live Demo