I'm new to Laravel and have been trying to set up this code and composer give me following error
When I run the command:composer require laravel/ui --dev
[InvalidArgumentException] Package laravel/ui at version has a PHP requirement incompatible with your PHP version (5.6.38)
require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...
Does anyone know how to fix this one?
**NOTE : My PHP Version is : 7.4.3 !
The problem seems to be what the error message says:
Solution: Update your PHP with the latest version
Apart from this, PHP version (5.6.38) has been unsupported for 11 months ago