Home  >  Article  >  Development Tools  >  How to publish a composer package

How to publish a composer package

藏色散人
藏色散人Original
2019-08-06 09:40:262892browse

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]

How to publish a composer package

Then click check , then click submit, packagist will automatically create the component page

How to publish a composer package

How to publish a composer package

##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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:what is composer softwareNext article:what is composer software