安装过程正常
```bash
composer require phpmailer/phpmailer
Using version ^6.1 for phpmailer/phpmailer
./composer.json has been updated
Running composer update phpmailer/phpmailer
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking phpmailer/phpmailer (v6.1.7)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading phpmailer/phpmailer (v6.1.7)
- Installing phpmailer/phpmailer (v6.1.7): Extracting archive
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
15 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
```
代码中:
//引入
use phpmailer\phpmailer\PHPMailer;
//使用
$mail = new PHPMailer(); //这行报错
#### 问题描述
求教:我在用微信支付时,经常出现报错:容器异常: Target [Psr\Container\ContainerInterface] is not instantiable whilegetMessage()]);
}
```
#### 报错信息
```
容器异常: Target [Psr\Container\ContainerInterface] is not
安装数据库迁移的时候报错
#### 程序代码
```
composer require robmorgan/phinx
```
#### 报错信息
```
Your requirements could not1.1.4] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not2.0.0] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not