1
resposta

O Composer install não funciona

O composer install gera erros no meu terminal:

juancalavera@MBP-de-Juan laravel-parte3 % composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Your requirements could not be resolved to an installable set of packages.

Problem 1

- This package requires php ^7.1.3 but your PHP version (8.0.1) does not satisfy that requirement.
1 resposta

Caret Version Range (^)

Olhando no manual do composer: https://getcomposer.org/doc/articles/versions.md#caret-version-range-

A versão suportada desse package é para versões do php entre >=7.1.3 e < 8.0.0 porém a versão instalada é a 8.0, por tanto, o composer não vai instalar.