added basic composer.json

I didn't know about your author info and the license, you may complete or remove these fields.
Afterwards it would be nice if you could add a 1.0.x tag to your git repo and `git push --tags` and also submit the package here: https://packagist.org