Conversation
|
It looks super cool, but I am wondering if the 11M vendor folder is worth the extra tool? My head says yes, but I want to make sure it is. Is one of the upside with composer is that it's all together. 🤔 |
The reduced size is more a side effect, to be honest. It's about clear separation between production and development dependencies of the software being developed and the software you need as a developer. For example, coding standards would live in This separation prevents running into issues that are no real issues, such as dependency conflicts. |
My bad, i totally missed that point in your post 🙈 |
|
Adding another tool to install tools doesn't excite me to be honest, we have 2 right now:
Having to manage another would add:
I also like that dependabot can automate these dependency updates e.g here, it appears Phive is not supported by dependapot. I guess my question is, is reducing the /vendor folder size by ~11M instead of automated dependency updates worth it? |
Well yes. That's because they are all for different things. And to be fair, you could easily use a build or install script such
Yeah, automatically checking dependencies for updates or issues would be nice.
It's not primarily about the reduced size, as I mentioned in my last comment. Quoting from the post I wrote:
|
This PR introduces PHIVE to manage PHPUnit. For more information on PHIVE, please refer to the official website.
Instead of including PHPUnit as a Composer (dev) dependency, we would run
phive install, and have PHPUnit (symlinked) available attools/phpunitinside our project root.Not having PHPUnit as a Composer dependency would mean that, in addition to PHPUnit itself, also all these packages are no longer installed:
This means a 11M smaller
vendorfolder (14M vs. 25M).I'll leave this PR here for discussion. 🤓