The official website of the mirror image is here https://pkg.phpcomposer.com/
Let me also write down the usage ,It is estimated that many novices will also get stuck when encountering, for a while.
This mainly solves the problem of composer installing PHP and other tool framework cards
1. You must have composer installed
2. Open your tp5 with the cmd command Project root directory
3. First re-point to the next composer and then the path of the resource will be found in the domestic mirror , follow the input , don’t doubt , do not enter mine QQ group question , I will tell you QQ group number 169754192 thinkphp exchange group
composer config -g repo.packagist composer https ://packagist.phpcomposer.com
4. Enter the command to install
composer require topthink/think-migration
Go to your tp here 5 will automatically generate the folder topthink
Then there will be one more line in the configuration file
Only here to confirm success
Welcome Enter the group communication-” QQ group number 169754192 thinkphp exchange groupabsolutely original ,For reprint, please attach this Weibo link