logo
podcast Podcast
get help Get Unstuck

Don't import the whole AWS SDK for just one service

Eliminate tons of unused code

Joel Clermont
Joel Clermont
2025-06-05

In a previous tip, I explained how to make the AWS SDK much smaller by only importing the services you need. I don't normally obsess over the size of dependencies, but this is a pretty drastic improvement.

In today's video, I will walk through the two basic steps and show what a difference it makes in the size of the vendor folder.

Watch Now (6 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Validation is really important in your app, but it doesn't always get the attention it deserves. We've written the ultimate guide to Laravel validation rules to help you get the most out of this powerful feature.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼
email
No spam. Only real-world advice you can use.