How to use the toolkit installed by the composer tool?

clipboard.png

clipboard.png

clipboard.png

I downloaded Tencent Cloud"s SMS sending toolkit. It can be used locally, but the controller put into the project cannot be used. Please report directly to 404. Please see what"s going on

.

the framework uses thinkphp5

Php
Mar.07,2021

you don't use composer installation to generate a vendor file, so you can't use use plus namespace to load, you can only use require to load files, or write an autoload to automatically load


check whether the frame entry file has this sentence
require_once _ DIR__. '/ vendor/autoload.php';


because I don't have the crul extension installed

Menu