Dependency management
You have multiple PHP libraries, frameworks, components, and tools available to use in your project. Until a few years ago, PHP did not have a modern way of managing project dependencies. At this moment we have Composer, a flexible project that was converted into the de facto standard of dependency management.
You are probably familiar with Composer as we were using this tool all over the book to install new libraries in the vendor folder. At this point, you will be wondering whether you should commit the dependencies of your vendor folder. There is no quick response, but the general recommendation is no, you should not commit the vendor folder to your repository.
The main disadvantages of committing the vendor folder can be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access