I have updated my php from version 7.3 to 7.4.
command php -v
is showing PHP 7.4.12 (cli) (built: Oct 29 2020 18:37:21) ( NTS )
but when i run laravel new [projectName] --jet
, the laravel project created is with older php version which is 7.3.
I tried composer global update
and composer global install
but the response was Nothing to install, update or remove
.
The issue is how to generate a new laravel project with php 7.4.
The issue relates to creating new project and not installing laravel(that's the difference between this question and the possible duplicates being marked)
Regards