Nov 17, 2014
Packages are great. For PHP, Composer has made modularising your code and managing dependencies within your app easy peasy. The topic of this blog post, however, is about what exactly constitutes a package, and where things do and don't belong. I will be talking in the context of the Laravel, as this is what we use at work, but these points should be roughly relatable to any modern framework that utilises Composer.