composer require topthink/think-multi-app终于安装成功了
PHP
0
E:\php\tp6> composer require topthink/think-multi-app
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^1.0 for topthink/think-multi-app
./composer.json has been updated
Running composer update topthink/think-multi-app
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking topthink/think-multi-app (v1.0.14)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing topthink/think-multi-app (v1.0.14): Extracting archive
Generating autoload files
> @php think service:discover
Succeed!
> @php think vendor:publish
File E:\php\tp6\config\trace.php exist!
Succeed!
6 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
安装注意php的版本,一定要正确的php版本,才能使用composer安装正确的程序,并不是在任何php版本下都可以下载ThinkPHP6.0的think-multi-app安装的。
安装时,如遇单机使用多个php版本,请注意修改环境变量中的php路径,至少在使用composer安装时,环境变量中的php版本是正确的。
版权声明:除非特别标注原创,其它均来自互联网,转载时请以链接形式注明文章出处。