Laravel is an popular framework built on PHP programming language. You can find Laravel installation tutorials here. In this tutorial, you will learn options to find version of preinstalled Laravel applications.
There are two ways available to find the version of the Laravel application installed on any system. You can either find it by running a command. If you face any issue with the command line, you can check the Laravel version in files.
1. Command to find Laravel Version
Artisan is a powerful command-line interface included with the Laravel. Open command line terminal on your system. Navigate to your Laravel application directory. Then execute the following PHP artisan command to check the Laravel version.
php artisan --version Laravel Framework 7.17.2
The above output shows that you are running Laravel Framework 5.6.39.
2. Check Laravel Version in File
Sometimes you may not have terminal access of server-hosted Laravel application. You may not much familiar with the command line interface. In that case, you can simply view the Laravel version in the following file. WHM/cPanel users can use file manager to access file.
First navigation to Laravel webroot directory and open below file.
Then search for the string “VERSION”, which contains version of the Laravel application.