composer/composer — pull request #44 by igorw (2011-10-09 14:58:55+00:00)
Title: [WIP] Autoloading

Here's a first prototype of the autoloading. It's kind of messy hacked into InstallCommand right now, definitely needs to be cleaned up.

Some issues I had:

* $localRepository is a FilesystemRepository wrapped in a PlatformRepository, I don't really care about the PlatformRepository.
* The FilesystemRepository is missing autoloading information, because that is not included in the response from the PackagistRepository, thus not dumped into the local repo in .composer. Some way of populating the packages fully from their composer.jsons after fetching them would be good.

For cleanup the logic needs to be moved into some kind of `AutoloadGenerator` and dependencies properly injected instead of hardcoded.