Joke Collection Website - Blessing messages - Installing pagoda tp5

Installing pagoda tp5

1: Unable to access, please add the following configuration:

2: Module does not exist: verification code

Found nothing in the vender directory.

We use composer install to install our library during development.

However, the following errors were reported:

Is caused by the source of the composer, we make a configuration:

According to the Internet, there are three mirrors:

Replace with Ali image: composer config-grepo.packagist composer/composer/

Replace it with the image of La Ville China: composer. Poser configuration of packaging composer. Poser.com, packaging composer.

Perform composer installation again. Installation is complete.

Verification code still doesn't work

We found that there is no think-captcha directory under the vender/topthink folder, that is, there is no extension installed.

We use the composer's top thinking/thinking verification code.

The following error is reported:

It's obviously a version mismatch,

We found that we are using tp5.0. 1 version, so the corresponding verification code is 1. *

We use the following command, which runs normally after execution.