Pages · Laravilt
Migration Overview
Run laravilt:filament to convert Filament resources, pages and widgets.
The migration tool converts Filament PHP v3/v4 code into Laravilt code.
Prerequisites
- A working Filament v3 or v4 application
- Laravilt installed (
php artisan laravilt:install) - A backup or clean git state
Quick Start
bash
This will:
- Scan your
app/Filamentdirectory - List the resources, pages and widgets it found
- Let you pick which ones to migrate
- Write Laravilt classes to
app/Laravilt/Admin
Command Options
| Option | Default | Description |
|---|---|---|
--source= | app/Filament | Directory with Filament classes |
--target= | app/Laravilt | Target directory |
--panel= | Admin | Panel name |
--dry-run | Show what would change without writing files | |
--force | Overwrite existing files | |
--all | Migrate everything without prompting |
Full Example
bash