miguilimzero / filament-auto-panel

Construct your Filament panel Resources and Relation Managers at execution time like magic.
MIT License
25 stars 3 forks source link

The "model" option does not exist when using php artisan make:filament-auto-relation-manager #6

Open BoweFrankema opened 3 weeks ago

BoweFrankema commented 3 weeks ago

Hi there!

I would like to give this package a try but after composer install when I run php artisan make:filament-auto-relation-manager for any model I get the following error:

php artisan make:filament-auto-resource

My Filament panel structure looks like this:

CleanShot 2024-06-08 at 16 43 12@2x

My models are located in the default location of /App/Model.

Laravel 11, latest version of Filament. Any idea what could be going on?

miguilimzero commented 3 weeks ago

Hello @BoweFrankema. The Filament Auto Panel relies on filament internal APIs, and the filament keeps changing it even in minor updates.

This is probably the case here. I will check what is happening and release a fix asap.

miguilimzero commented 3 weeks ago

Should now be fixed by 2.0.1.

BoweFrankema commented 3 weeks ago

Thank you, I'll give it a try later this week!