Distributing via Packagist

Packagist is a free online repository service for Composer packages. We can use it to easily distribute our free Magento modules. The fact that Packagist is a default Composer repository, makes it the de facto repository for any Composer user. This is why having our free Magento modules available via Packagist is a preferred way of distribution.

Pushing our Magento module to Packagist is quite easy. Assuming we have our account created, we should start by clicking on the Submit button, which will land us on the following screen:

We need to provide a link to our Git repository here, and click the Check button, followed ...

Get Magento 2 Development Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.