i am newbie with laravel and tryng to download 5.8 version in a server xamp.
But, when i try the command in the terminal of Xamp:
composer create-project --prefer-dist laravel/laravel blog "5.8.*"
returns
[InvalidArgumentException]
Could not find package laravel/laravel with version 5.8.* in a version installable using your PHP verson 8.0.5
Someone have a idea of what i can do?
If you really want to use Laravel 5.4, then you'd need to go with PHP 7.* and I'd recommend going with Wamp (https://www.wampserver.com/en/) instead of Xampp, which allows you to switch between php versions with one click.
However try using laravel 8 if laravel 5.4 is not a requirement