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

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

ext-gd * -> the requested PHP extension gd is missing from your system

Problem 1 – dompdf/dompdf v0.8.0 requires ext-gd * -> the requested PHP extension gd is missing from your system. –

php artisan tinker

This terminal command provides a REPL (Read-Eval-Print Loop) for PHP with your application’s settings already loaded: php artisan tinker You