how can i check my laravel version

In this short tutorials we will see how can we check our laravel version

1)First method by CLI

we can run this command in your project

php artisan tinker


php artisan --version
php artisan -v


you got this output 


/Laravel/blog on main: php artisan --version                     
Laravel Framework 8.25.0


2) Second Method

we can check laravel version in the composer.json file in root directory.


{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.3|^8.0",
        "austintoddj/canvas": "^6.0",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "laravel/framework": "^8.12",
        "laravel/tinker": "^2.5"
    },
}


we can see in composer.json laravel framework version also many library version


"laravel/framework": "^8.12",