I have updated my PHP version to 7.2 and changed the Laravel version in the composer.json
file to 5.7.*
I then ran composer update
in the console and want to make sure that Laravel updated (I didn’t see the outcome of the command since I sent the request to my hosting team)
Is there a way to know for sure which version is running?
2
Answers
You can View current Laravel version through Blade Templates
First way:
Second way:
Also, the Laravel version installed can be checked in the command line:
This will show you which Laravel version is currently running.
1) Using terminal.
php artisan --version
orphp artisan -V
2) Using in Files go to
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
3) Using the blade template.
4) Using composer.json
5) Using route.php file
Check with url
yourdomain.com/laravel-version