Base MVC
Base MVC
Verified against dev-next. Base MVC is the shared admin CRUD framework layered on Laravel.
Core building blocks
Component | Location | Role |
|---|---|---|
BaseModel |
| Eloquent behavior, soft deletes, view/index helpers, model registry |
BaseController |
| Generic CRUD and API helpers |
BaseViewController |
| Form/view preparation and translations |
BaseRoute |
| Authorized CRUD and API route generation |
Generic views |
| Shared index/edit/create templates |
Use Base MVC for
Standard admin CRUD resources
Index tables, edit forms, relation panels, and DataTables listings
Resources using the common web/API surface
Use Livewire for
New interactive workflows, wizards, and reactive relation editors that do not fit generic CRUD.
Contributor expectations
Extend BaseController/BaseModel for standard resources
Use
html_list()for relation optionsValidate and authorize server-side
Keep UI strings translated
Add feature or lifecycle tests