Setting up for packagist/composer usage.

 I'd like to use your project via packagist so I've made the necessary changes to  your repository to be used via composer. 

I hope you don't mind publishing https://packagist.org/ .