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
how to check laravel version

Another way to find Laravel version is to check the file composer.lock present in the Laravel web root directory.

Advertisement

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

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement