Páginas · Laravilt
Quick Start
Build your first resource in 5 minutes
Build a complete CRUD resource in 5 minutes.
Prerequisites
Complete the installation first.
Step 1: Create Model
bash
Edit the migration:
php
Run migration:
bash
Step 2: Generate Resource
bash
This creates:
text
Step 3: Build Assets
$ pnpm buildStep 4: View Resource
Visit http://localhost:8000/admin/products
You now have:
- List page with search and filters
- Create form with validation
- Edit functionality
- Delete with confirmation
Customize Form
Edit Form/ProductForm.php:
php
Customize Table
Edit Table/ProductTable.php:
php
Next Steps
- First Resource - Complete resource tutorial
- Resource Table - Table configuration
- Forms - All form components
- Tables - Table features
- Troubleshooting - Common issues