francescomalatesta / laravel-api-boilerplate-jwt

A Laravel 5.8 API Boilerplate to create a ready-to-use REST API in seconds.
MIT License
1.17k stars 285 forks source link

Wrong php version restriction #59

Closed zhdanovartur closed 6 years ago

zhdanovartur commented 6 years ago

Project contains composer.lock file and after execute composer install I have following errors:

 Problem 1
    - Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0].
    - doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.22) does not satisfy that requirement.
  Problem 2
    - Installation request for doctrine/instantiator 1.1.0 -> satisfiable by doctrine/instantiator[1.1.0].
    - doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.22) does not satisfy that requirement.
  Problem 3
    - doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.22) does not satisfy that requirement.
    - dingo/blueprint v0.2.3 requires doctrine/annotations ~1.2 -> satisfiable by doctrine/annotations[v1.5.0].
    - Installation request for dingo/blueprint v0.2.3 -> satisfiable by dingo/blueprint[v0.2.3].

but minimal version of php in composer.json is 7.0.0.

brugasoft commented 6 years ago

could you find a solution for that issue?

zhdanovartur commented 6 years ago

@brugasoft just remove composer.lock and execute composer install

brugasoft commented 6 years ago

issue solved. thank you!

OnlyRealJohanna commented 6 years ago

Glad this solution was available, thank you @zhdanovartur.

francescomalatesta commented 6 years ago

Fixed in the last update, thanks and sorry for the late.