laravel - dependency mismatched for composer and php

one text

when creating laravel projects using composer the required dependency of php is 8.0 which is not installed in my kali linux machine, i have greater version of php as php8.1. so dependency mismatched. composer not installing any packages.

I have also php 7.4 but not php8.0. I am not understanding why composer creating projects with php8.0 which is not installed.

Here is composer.json file

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": \["framework", "laravel"\],
    "license": "MIT",
    "require": {
        "php": "^8.0.2",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^9.19",
        "laravel/sanctum": "^3.0",
        "laravel/tinker": "^2.7"
    },
    "require-dev": {
        "fakerphp/faker": "^1.9.1",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^6.1",
        "phpunit/phpunit": "^9.5.10",
        "spatie/laravel-ignition": "^1.0"
    },

php version installed on my machine

$ php -v

                                                              2 ???
PHP 8.1.5 (cli) (built: May 16 2022 17:15:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.5, Copyright (c) Zend Technologies
with Zend OPcache v8.1.5, Copyright (c), by Zend Technologies

composer version:

Composer version 2.4.4 2022-10-27 14:39:29

Source