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 Laravel Framework version, run
1 |
php artisan --version |
Another way to find laravel version is to check the file composer.lock present in the laravel web root directory.
1 |
cat composer.lock |
You will see something like the following
1 2 3 4 5 6 7 |
"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