Today I setup a new packagist entry for WaryWay's trait library. It was much easier then I expected. I have previously setup composer packages locally. This time, it wasn't much different. I build out the composer.json. Set the name. Then went ahead and tagged a semantic version. After I had all this in place and pushed up to GitHub, it was a simple matter to publish on packagist.
Here are the exact steps:
- Follow the documentation on https://packagist.org/packages/submit
- Add the integration / services setting in github (See example1).
- Once setup with your token, click the 'test' button to let packagist know it is integrated.
 |
| Example 1 |