Hi,
When using: "php": "^7.1.3" with composer, it means that it requires php version >= 7.1.3 but < 8.0.0.
See https://getcomposer.org/doc/articles/versions.md#caret-version-range-
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have an existing laravel project and yesterday just try upgrade from 5.8 to 6.0,
I got an issue regarding symphony translation, kindly refer to this https://github.com/symfony/symfony/issues/34482
When I try run "php --version" in visual code terminal it show "PHP 7.2.22" version, and when I check my composer.json file I see
"require": { "php": "^7.1.3",
So I quite confused right now, If my local currently run "PHP 7.2.22" then why I still got that symphony translation error? or my current project run php 7.1.3 (if yes how check it)?
Note:
I am still beginner and sorry for my bad english
Ok I already fix on my local, Refer to this for the fix https://github.com/laravel/valet/issues/237 What I do is:
Note:
Please or to participate in this conversation.