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

Print this article
Font size -16+
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
TokenMismatchException in VerifyCsrfToken.php line 67:
I have a form and when i click the submit button I get the error: TokenMismatchException in VerifyCsrfToken.php line 67:
Create a controller with populated with all the functions a
#php artisan make:controller FlyersController –resource the result is that you will have a controller with all the functions created: <?php