Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

felloz's avatar

Could not find package laravel/laravel with version 7.0 in a version installable using your PHP version, PHP extensions and Composer version.

Hello,

Im getting this error after update composer to composer 2.

Could not find package laravel/laravel with version 7.0 in a version installable using your PHP version, PHP extensions and Composer version.

I'm using OS Windows 7 and using PHP 8.

0 likes
1 reply
felloz's avatar

The error was related to my php versión 8.0.0 it seems that laravel 7 is not compatible with that php version, I just downgraded to 7.4.9 and everything worked fine.

2 likes

Please or to participate in this conversation.