Filament v4.1 resources structure problem?

Problem: I'm using Filament v4.1.10, but when I run php artisan make:filament-resource Customer --generate, it creates the old v3 file structure instead of the new v4 structure. Expected behavior (v4): app/ └── Filament/ ├── Resources/ │ └── CustomerResource.php ├── Pages/ │ └── CustomerResource/ │ ├── CreateCustomer.php │ ├── EditCustomer.php │ └── ListCustomer.php Actual behavior app/ └── Filament/ └── Resources/ └── CustomerResource/ ├── CustomerResource.php ├── Pages/ │ ├── CreateCustomer.php │ ├── EditCustomer.php │ └── ListCustomer.php What I've tried: 1. php artisan make:filament-resource Customer --generate → returns old structure 2. php artisan make:filament-resource Customer --simple → works but doesn't generate Pages 3. php artisan make:filament-resource Customer --view → also returns old structure 4. Cleared cache: php artisan cache:clear, composer dump-autoload 5. Reinstalled panel: php artisan filament:install --panels My environment: - Laragon on Windows - Filament v4.1.10 - Laravel 12.0 - PHP 8.2+ Question: Is this a known bug in v4.1.10? How can I fix the --generate flag to produce the correct v4 structure? Could this be specific to my installation?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?