hamcrest / hamcrest-php

PHP Hamcrest implementation [Official]
Other
6.96k stars 44 forks source link

Improved Composer autoload configuration. #16

Closed ezzatron closed 10 years ago

ezzatron commented 10 years ago

This PR utilizes Compser's files autoloading feature which is designed for functions such as those provided by this library. This means Composer users will no longer have to manually require the Hamcrest functions.

In addition, I changed the autoload configuration to only generate a class map for this library's dev resources when in development, as the current setup is adding cruft to end users' autoloaders.

I also updated the readme to contain information about the Composer package.

cordoval commented 10 years ago

thanks @ezzatron !