A common Laravel question is “What version do I have” and how can I find this? Laravel offers several ways of answering this question but the easiest is to run the following through the Artisan command line tool:

php artisan -V

This will return the version currently installed such as:

Laravel Framework version 5.4.22

Another place you can look is inside your code at the composer.lock file. Open it and search for “laravel/framework”, and then the next line will have the version:

"version": "v5.4.22"

Either of these two places will give you the information you need and is useful for quickly finding out what version of Laravel you are running.