I don't want to check my Laravel version in the command prompt (php artisan --version
), but in the view itself.
Like this:
<?php
$laravel_version = /*laravel version check code*/;
?>
In the view:
{{ $laravel_version }}
Do anyone know how I can do that? Maybe it isn't possible..?
This is the way how to see laravel version in command explorer:
php artisan --version