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

Used terminal commands laravel

Create a new project in laravel: #laravel new your-project-name Another way to create a new project: #composer create-project laravel/laravel your-project-name

Vhost and Laravel

To be able to access the new project(blog) from the localhost by accessing http://blog.local  you must find and edit the

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