Home>Article>Development Tools> Composer extension package upload process (recommended)

Composer extension package upload process (recommended)

藏色散人
藏色散人 forward
2021-10-19 15:18:57 1721browse

This article is provided by the tutorial column ofcomposerto 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!

Statement:
This article is reproduced at:learnku.com. If there is any infringement, please contact admin@php.cn delete