This package requires php <=7.0.27 but your PHP version (7.0.30) does not satisfy that requirement.

This package requires php <=7.0.27 but your PHP version (7.0.30) does not satisfy that requirement.

At some projects when I tried:

php composer install

it gives me the following error:

– This package requires php <=7.0.27 but your PHP version (7.0.30) does not satisfy that requirement.

This is because in composer.json I had:  “php”: “<=7.0.27”,

The wright way is: “php”: “^7.0”,

After you make the change do not forget to delete the composer.lock: rm -rf composer.lock


Related Articles

Add PATH so the laravel executable can be located by your system

A first problem for me was thatI didn;t know where to add ~/.composer/vendor/bin . I searched on the internet and I

Laravel Class not found

i tried lots of things… and after 2 hours here is the solutions php artisan config:cache composer dump-autoload php artisan

gulp: command not found

After some hours of searching I found the fix and explanation here: http://blog.dwaynecrooks.com/post/110903139442/why-do-we-need-to-install-gulp-globally-and   # Step 1 npm install -g