How to Check Laravel Version using Command Line

Laravel check version using CLI or command line; In this tutorial, i am going to show you how to check the laravel version using the command-line interface(CLI).

How to Check Laravel Version using Command Line

Open the command line terminal on your system. Navigate to your laravel application directory by using following command; is as follows:

cd your project name

Then run the following PHP artisan command to check the Laravel version; is as follows:

php artisan --version 

Output of the above given command; is as follows:

Laravel Framework 9.1

Apart from this, you can check the Laravel version in another way. For this you have to go to your installed Laravel app directory. And after that you have to open Application.php by following the below path.

/vendor/laravel/framework/src/Illuminate/Foundation/

Inside this file you can check your installed Laravel version.

Recommended Laravel Tutorials

Be First to Comment

Leave a Reply

Your email address will not be published.