Update THINKPHP5 or YII2 version, I am currently using composer to update, small partners if there are other better ways to update, you can directly comment to me, greatly appreciated AH.
If you have not installed Composer, you can follow the method installed in Composer installation
1. Update THINKPHP5 version, directly with composer update
Open the command control line and switch to your TP5 directory, as
Direct composer Update, wait
2. Update the YII2 version and use the composer update directly
If there is a lifetimes error, do not worry, please see the following processing methods:
Enter the command first: Composer global require "fxp/composer-asset-plugin:~1.1", such as:
Then composer update, appear, copy and paste in browser open red box URL address
You are prompted to enter your GitHub account and password, enter the success, login.
Then click Generate to Generate authentication
Copy and paste this access token, paste it into token (hidden): Back, then enter directly, wait, appear:
OK, update successful
Use composer to update thinkphp5 or YII2 versions