Home > Article > Development Tools > How to publish a composer package
How to publish the composer package?
How to publish the composer package
Publishing composer packages means publishing components. We can submit them to packages through github warehouse. First, we must have a packagist account. We can log in to packagist through github. After logging in, there will be a submit button in the upper right corner of the page. Enter The github warehouse address where the component is located
Related recommendations: [composer usage tutorial]
Then click check , then click submit, packagist will automatically create the component page
##We can see that packagist automatically obtains it from the component’s composer.json The name, description, keywords and other information of the component are obtained. At this point, our component has been successfully released.The above is the detailed content of How to publish a composer package. For more information, please follow other related articles on the PHP Chinese website!