Composer extension package upload process (recommended)

藏色散人
Release: 2021-10-21 11:48:51
forward
1828 people have browsed it

This article is provided by the tutorial column of composer to introduce you to the process of uploading the composer expansion package. I hope it will be helpful to friends in need!

Composer extension package upload process (recommended)

The main process of uploading the composer expansion package

1. Upload the code to Github (preferably over the firewall)

Project example: github.com/wzy-wangge/laravel-cons...

2. Publish to packagist (need to circumvent the wall)

Project example: packagist .org/packages/wzy-wangge/...
Submit repository: packagist.org/packages/submit

3. Composer installation

Use composer directly Install package name command

Notes:

a. The release package cannot be installed immediately using the command, there will be a network delay
b. It cannot be installed , check the composer's installation source, give priority to the default installation source packagist, other sources have synchronization delays

The above is the detailed content of Composer extension package upload process (recommended). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
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