How can I echo the version of the current Laravel version in php using the view?

This is the way how to see laravel version in command explorer:

php artisan --version

$laravel = app();
$version = $laravel::VERSION;

Here is an easiest way to check it manually from the folder

Go to project folder

D:\xampp\htdocs\your-project-folder\vendor\laravel\framework\src\Illuminate\Foundation\Application.php

const VERSION = '5.2.45'; //version of laravel enter image description here

This is the another way to check it.

If you don't want to check using this command php artisan --version


In Laravel's Blade templates:

{{ App::VERSION() }}

Note that this is tested in 5.3x