Add Filament Cache Command through Laravel Scanner's Dockerfile Template
Change Summary
What and Why: What: Run Filament Cache command when Filament is installed for a Laravel application
Why: Thanks to community post, it was discovered that Laravel apps with Filament installed get really low requests per second( I tested, and got 5 requests per second ). This can be improved by running Filament's cache commands.
How: Revise Laravel's Dockerfile template to run the Filament cache commands when "filament/filament" is detected in the composer.json file
Related to: Community post
Documentation
- [ ] Fresh Produce
- [ ] In superfly/docs, or asked for help from docs team
- [ ] n/a
Looks good. The check that's failing is because in Line 47 of your commit, there was some whitespace. The check cleaned this up before the pull request was made so you don't need to make any changes.
Hey @Johannes-Werbrouck ! Thanks for checking in! Noted on the above