If you properly set up your
#WordPress plugin with Composer, you can use your dependencies both in an isolated manner at the plugin level, as well as in a concerted manner at the site level.
This lets other developers manage all of a project's dependencies in a centralized way.