How to Publish a PHP Library to packagist.org to be used in Composer
Publishing a PHP library to Packagist.org is a straightforward process that involves a few simple steps. An existing Github repository that is public is required (although private is also available) in order to submit to Packagist.