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
or
php artisan -v
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",
visit my website larainfo.com
Read also
3 way to install bootstrap 5 in laravel 8
Laravel php artisan inspire command
Laravel clear cache without using artisan command
Top comments (0)