@jimothee You’ve said yourself that running php -v says your PHP version is 8.2, and Laravel is telling you that it requires a version of PHP that is 8.3 or above. Well when you run Artisan (a CLI tool) it’s going to use the CLI version of PHP, which is not PHP 8.3 or above.
Apr 17, 2026
6
Level 1
php version does not satisfy that requirement composer laragon, How do i fix this
I recently bought Laragon and when i tried to make a controller in my new laravel project it told me: "PHP Fatal error: Uncaught RuntimeException: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.3.0". You are running 8.2.12. in C:\laragon\www\qna\vendor\composer\platform_check.php:22 Stack trace:"
Im confused because I have the latest version of composer and php, but when I php -v it says my version is PHP 8.2.12, but in Laragon its the latest version. I tried running things like sudo composer self-update, but that did nothing. Help would be appreciated.
Please or to participate in this conversation.