1024programmer News thinkPhp5 installation database migration tool (composer domestic mirror installation thinkmigration) solution

thinkPhp5 installation database migration tool (composer domestic mirror installation thinkmigration) solution

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

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/thinkphp5-installation-database-migration-tool-composer-domestic-mirror-installation-thinkmigration-solution/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索