How to check laravel current version?

You can view the current version of your Laravel installation using the –version option in command explorer:
php artisan –version


To check it manually from the folder:

  • Go to project folder:
    C:\xampp\htdocs\project-folder\vendor\laravel\framework\src\Illuminate\Foundation\Application.php

const VERSION = ‘5.5.44’; //version of laravel


View current Laravel version through Blade Template in the following methods:
View current Laravel version through Blade Templates, there are many ways:

1) Method 1
{{ App::VERSION() }}

2) Method 2

<?php
     echo $app::VERSION;
?>

3) Method 3

<?php
  $laravel = app();
  echo $laravel::VERSION;
?>

BIX

Do you have any queries?

This site uses Akismet to reduce spam. Learn how your comment data is processed.