Require vs Require-Dev - What's the Difference and Why Should I Care?

3K views Feb 15, 2023

View more courses & tutorials at: https://www.codereviewvideos.com/course/composer/video/require-vs-require-dev Composer is awesome and has made dependency management simple, allowing us software devs to better leverage the work of the amazing PHP Community. There are a few parts of Composer that you may never have used, may never have needed, or may simply have no idea existed. Whenever you add a package to your composer.json file, do you ever stop to think whether that package would actually be needed on a Production server? If the answer to that question is no, then maybe it could live in your require-dev section instead. In this video you will learn when to use require, when it might be better to use require-dev, and what the differences between the two actually are.

#Programming
#Software