zendframework/ZFTool — pull request #8 by lukenm (2012-12-15 07:01:18+00:00)
Title: Feature/alternate composer config

Hi there,

Since my pull request last week was merged in, I can see that there have been a few changes to try to make the module PSR-0 compatible.

I've been trying to find a solution to get the default Zend Framework module structure to work with composer _without_ changing the module structure.

In this pull request I have reverted the changes that related to the changing of the module structure, and have added a declaration to the composer.json file that adds Module.php to composer's classmap. This now means that composer can autoload ZFTool\Module even though it is not PSR-0.

I have tested this with composer and it seems to work fine. As there is no change to the default module structure, it should also work with the manual installation methods.

I hope you find this useful.

Regards,
Luke.