При виникненні такої помилки:
[root@web /home/web/www/mail]# composer install
Loading composer repositories with package information
Initializing PEAR repository http://pear.php.net
Installing dependencies (including require-dev)[RuntimeException]
Could not load package phpspec/prophecy in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^1.0.2: Invalid version string ^1.0.2″[UnexpectedValueException] Could not parse version constraint ^1.0.2: Invalid version string “^1.0.2”
install [–prefer-source] [–prefer-dist] [–dry-run] [–dev] [–no-dev] [–no-plugins] [–no-custom-installers] [–no-scripts] [–no-progress] [-v|vv|vvv|–
verbose] [-o|–optimize-autoloader] [–ignore-platform-reqs] [packages1] … [packagesN]
Рішенням цієї помилки є, оновлення Composer, це можна зробити командою само-оновлення:
[code]
composer selfupdate
[/code]