Add composer.json file to use the php class as a composer dependency

The composer.json probably needs to be updated with your real email.