Skip to content

Conversation

@danniehansen
Copy link
Contributor

My codebase was sitting just on the edge of maximum deployment size & every now and then staging deployments would complain after our patching routine because google or AWS added new services that increased the deployment size.

Our solution have for years been just to extend the never ending exclude list with new services. But this time i got quite annoying by it and with a few searches i found some nifty composer scripts that can be used to automatically cleanup unused services in both the Google and AWS SDKs!

AWS SDK was heavily inspired by aws/aws-sdk-php#2456 - so the syntax is much the same.

This change adds a small callout segment in the deployment which just highlights this as these packages are often found in serverless deployments.

…reducing deployment size when using aws/google dependencies
@mnapoli
Copy link
Member

mnapoli commented Nov 2, 2023

Thank you!

@mnapoli mnapoli merged commit 5a5db92 into brefphp:master Nov 2, 2023
@danniehansen danniehansen deleted the hotfix/unused-services-cleanup branch November 2, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants