Phân bổ
You've written a great extension — and now you want the whole world to be able to use it. This document will take you through the process of distribution, from setting up a Git repository for your extension, to publishing it on Packagist.
Cài đặt Git
The first thing you'll need to do is set up a version control system (VCS). The most popular VCS is Git. In this guide we'll be using Git, so make sure you have it installed before continuing. If you don't have much Git knowledge, you may want to check out these learning resources.
After you have installed Git, you'll need to initialize your repository. You can use git init on the command line if you're comfortable, or use a GUI tool like SourceTree or GitKraken.
Then, you'll need an account in a Git hosting server, the most popular being GitHub and GitLab. These will instruct you on how to hook up your local repository with the online "remote" repository.