How to publish a composer package

藏色散人
Release: 2019-08-30 14:00:02
Original
2902 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template