Including dependencies in plugin

I am writing my first WP plugin. It utilizes the Google API but the API library is huge and I only need to use a small part of it.

Is there a best practice for including dependencies?

Should plug-ins be built using composer?

I’m fairly new to the dev workflow with version control etc AND wp plugins. It seems the two don’t go together very well.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer