Local composer dependency in PHP and ClassNotFoundException
Composer makes working with PHP quite nice, but as with any package manager, you run into the occasional weird error message. Today I ran into a problem when adding a dependency to a project that was itself a local dependency to another project. I've been bitten by this a few times now, so here's a fix!