How to Check Laravel Version of a Your Project?

By Hardik Savani April 7, 2022 Category : Laravel


Hello all! In this article, we will talk about how to check laravel version of a project. In this article, we will implement a how to check laravel version cmd. you will learn how to check laravel version in controller. We will look at example of laravel check version command. Follow bellow tutorial step of check laravel version php artisan.

Sometimes we need to check laravel version of our application. laravel provides two ways to check laravel application version. first, you can check your laravel version using artisan command and another using app helper. you can use these ways to your laravel 6, laravel 7, laravel 8 and laravel 9 version.

You can see bellow examples to getting current version of laravel app.

Example 1: Check Laravel Version using CMD:


php artisan --version


Laravel Framework 9.6.0

Example 2: Check Laravel Version using App Helper:





Example 3: Check Laravel Version in Blade File:


The current Laravel version is {{ app()->version() }}

I hope it can help you...

Tags :