Immediately commit added packages

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the dumb-mistakes-and-gotchas category.

Last Updated: 2024-03-27

I wrongly thought I added a package, laravelcollective/html to the composer.json file but in fact hadn't (or it got stripped out by some tool). This system being pre-CI testing, this change broke production because I had false confidence in the code, since the package worked on my machine. It also lead to similar errors on my colleagues' machines and slowd them down.

Lessons