How to find Laravel Framework Version
Laravel is a popular PHP framework. In this post, I will show how to check laravel version.
To find the Laravel Framework version, run
php artisan --version
Another way to find Laravel version is to check the file composer.lock present in the Laravel web root directory.
cat composer.lock
You will see something like the following
"name": "laravel/framework",
"version": "v6.1.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "a365bea7ff0dea9a50f5904be9e41656def9af4b"
},
In this case, we are using Laravel version 6.1.0
See Laravel