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

Composer extension package upload process (recommended)

藏色散人
Release: 2021-10-21 11:48:51
forward
1934 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:
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
Latest Issues
Composer failed to install TP51
From 1970-01-01 08:00:00
0
0
0
PHP study installation composer cannot be used
From 1970-01-01 08:00:00
0
0
0
php - Error using composer
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template