[Q] Cleaning up unused services #292
Unanswered
ievgen-klymenko-uvoteam
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I see spatie/laravel-google-calendar uses google/apiclient which uses google/apiclient-services
They have mentioned in their docs, that "to avoid shipping these [unused] dependencies", we should add
Google\\Task\\Composer::cleanup
task andextra
(exception services that won't be deleted) to our composer.json, like thisDoes it mean that if I only use spatie/laravel-google-calendar and only use Google calendar service, I would also need to add this to composer.json ? To prevent installing 200 other Google unused services?
Or does your library do it automatically somehow?
Thanks for any help and for nice package!
Beta Was this translation helpful? Give feedback.
All reactions