请帮助。
安装此软件包时出现以下错误:https://github.com/laravolt/avatar#integration-with-other-php-project。
C:\xampp\htdocs\ya> composer require laravolt/avatar
Using version ^2.2 for laravolt/avatar
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package florianv/laravel-swap (locked at 1.3.0, required as ^2.0) is satisfiable by florianv/laravel-swap[1.3.0] but these conflict with your requirements or minimum-stability.
Problem 2
- The requested package laravel/socialite (locked at v3.3.0, required as ^4.0) is satisfiable by laravel/socialite[v3.3.0] but these conflict with your requirements or minimum-stability.
Problem 3
- Conclusion: remove florianv/laravel-swap 2.0.0
- Conclusion: don't install florianv/laravel-swap 2.0.0
- Installation request for florianv/laravel-swap ^2.0 -> satisfiable by florianv/laravel-swap[2.0.0, 2.0.x-dev].
- Conclusion: don't install cache/adapter-common 0.3.3
- florianv/laravel-swap 2.0.x-dev requires cache/illuminate-adapter ^0.2.0 -> satisfiable by cache/illuminate-adapter[0.2.0].
- cache/illuminate-adapter 0.2.0 requires cache/adapter-common ^1.0 -> satisfiable by cache/adapter-common[1.1.0, 1.0.0, 1.1.x-dev].
- cache/illuminate-adapter 0.2.0 requires cache/adapter-common ^1.0 -> satisfiable by cache/adapter-common[1.1.0, 1.0.0, 1.1.x-dev].
- Can only install one of: cache/adapter-common[0.3.3, 1.1.0].
- Can only install one of: cache/adapter-common[1.0.0, 0.3.3].
- Can only install one of: cache/adapter-common[1.1.0, 0.3.3].
- Can only install one of: cache/adapter-common[1.1.x-dev, 0.3.3].
- Installation request for cache/adapter-common (locked at 0.3.3) -> satisfiable by cache/adapter-common[0.3.3].
Installation failed, reverting ./composer.json to its original content.
我已按照安装过程进行操作。