Adding composer.json to publish on packagist

The primary requirement to publish on packagist is add an composer.json file on root.