How to Check Laravel Version via CLI and Application File

In this tutorial you will learn about the How to Check Laravel Version via CLI and Application File and its application with practical example.

In this How to Check Laravel Version via CLI and Application File tutorial, I will show you how to check laravel version using laravel cli or application file. In this tutorial you will learn to check laravel version using laravel cli command and in laravel application file.

How to Check Laravel Version via CLI and Application File

There are following two ways to check the version of your Laravel application.

  • Check Laravel Version Using the Command
  • Check Laravel Version in Files

Check Laravel Version using the Command

If you want to check laravel version using artisan command then switch to the project directory and run the following command to check laravel version:

Check Laravel Version in Application File

In this method we will check laravel version from laravel application files. Go to your project root directory. And follow the path

You can see the version number of Laravel at around line no 36, and the version is defined in the const VERSION = ‘….’.

In this tutorial we have learn about the How to Check Laravel Version via CLI and Application File and its application with practical example. I hope you will like this tutorial.