We first need to push composer.json and our library code from within src/Foggyline/MP7/, into the GitHub repository. Assuming we have an empty GitHub repository, such as email@example.com:ajzele/foggyline_mp7.git, waiting for us, we can easily do so through the following few commands:
git initgit remote add origin firstname.lastname@example.org:ajzele/foggyline_mp7.gitgit add composer.jsongit add src/Foggyline/MP7/git commit -m "Initial commit"git push origin master
This should show up in GitHub, as follows:
With the files in the GitHub repository, we can now visit the https://packagist.org page and Submit our package:
Once the ...