Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added command to generate multiple resources #15397

Closed
wants to merge 2 commits into from

Conversation

munavvard2
Copy link

@munavvard2 munavvard2 commented Jan 22, 2025

Description

php artisan make:filament-resource Customer ( filament-getting-started )
this command takes model name to generate resource,
i faced a challenge when i create multiple models together with blueprint and it generated 10-15 models and i had to create one by one all models, so i created a new command
php artisan make:filament-resource-multi

Visual changes

filament-multi

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@danharrin
Copy link
Member

Hi, sorry but I do not have plans to add this feature to core. Please check out our contributing guide which talks about proposing the feature before submitting the PR, to ensure you aren't spending time building something that we won't merge.

Maybe you could release a package that provides such a command instead? :)

@danharrin danharrin closed this Jan 22, 2025
@munavvard2
Copy link
Author

thanks, sure i will try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants