The Laravel installer requires PHP 7.3.0 or greater. Please use "composer create-project laravel/laravel" instead code example
Example: The Laravel installer requires PHP 7.3.0 or greater. Please use "composer create-project laravel/laravel" instead.
composer create-project laravel/laravel="5.5.*" myApp
//run above command in terminal for specific version of php