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

Add info about optimizing composer in production #3

Open
hirasso opened this issue Nov 1, 2024 · 1 comment
Open

Add info about optimizing composer in production #3

hirasso opened this issue Nov 1, 2024 · 1 comment

Comments

@hirasso
Copy link
Owner

hirasso commented Nov 1, 2024

Before running a deploy, this should be executed locally if there are composer packages in use:

composer dump-autoload --classmap-authoritative
@hirasso
Copy link
Owner Author

hirasso commented Nov 1, 2024

Maybe this could be automated.

  • run it before the deploy if a composer.json exists
  • after the deploy, run a simple dump-autoload to allow continued development

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

No branches or pull requests

1 participant