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

php artisan migrate – error [PDOException] SQLSTATE[HY000] [2002] No such file or directory

/Applications/AMPPS/www/blog/config/database.php I changed the host from localhost into 127.0.0.1 and it worked: ‘host’ => env(‘DB_HOST’, ‘127.0.0.1’),

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