Publishing on Packagist
Once you have completed creating your package, and you deem it worthy of bearing your name in the ever-critical eyes of the internet, then you might decide it is time to publish it on Packagist.
First of all, you need to create an account. This is fairly straightforward. You also need to confirm that your project composer.json
file is in good order, and you have updated GitHub or another repository with all the latest changes.
If you are publishing a literal "hello world," please remove it once you are done experimenting!
Things to check before you publish
Before you publish your package, you might want to check a few things (assuming that the code itself all works correctly).
The first one is that you have a decent README.md
file. This file should sit at the root of your repository and should contain clear, concise instructions on how to use your package. The contents of this file will form the bulk of the content on the page for your...