git init echo "vendor" > .gitignore git add . git commit -m 'Initial Commit' git remote add origin email@example.com:_YOUR_USERNAME_/_YOUR_PACKAGE_NAME_.git git branch -M main git push -u origin main
Go to “create a new release” and fill in the form.
Here is an example of the form from a recent project of mine:
Setup your packagist account with access tokens etc.
Go to submit package, paste in the URL to your package’s repository and click “check”.
Packagist submit package screen – with the check button
When you click “check”, it will go off and attempt to find the package at that URL.
Packagist submit package screen – package found at URL and ready to submit
Once you have click “Submit”, you should be presented with your package’s new packagist homepage: