When installing libraries with composer
it generates a autoload_classmap.php
in order to hook up the different namespaces
with classes. For example:
'PHPUnit_Framework_Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php'
Why is this even needed when it can be done with a simple spl_autoload_register()
and bypass the whole need for generating new files every time?