how to check my laravel version

There are two ways available to find the version of the Laravel application. You can either find it by running a command or you can check the Laravel version in files.

Command to find Laravel Version

Open the terminal on your system. Navigate to the webroot directory of the Laravel application. Now execute the following PHP artisan command to check the Laravel version.

$ php artisan --version

Laravel Framework 5.6.39

Check Laravel Version in File

Sometimes you may not have access to the terminal of server-hosted Laravel application. Or you may not much familiar with the command line. In that case, you can simply view the Laravel version in the following file.

First navigation to Laravel webroot directory.

$ vim ./vendor/laravel/framework/src/Illuminate/Foundation/Application.php

Leave a Reply