ホーム > Laravel > How to Check Laravel Version
Laravel

How to Check Laravel Version

Thank you for your continued support.
This article contains advertisements that help fund our operations.

⇨ Click here for the table of contents for Laravel articles

To check the version of Laravel, you can mainly use the following command in the command line.

How to Check Laravel Version

Execute the Command

php artisan --version

Or,

php artisan -v

Result

Laravel Framework 10.38.2

Executing this command will display the current installed version of Laravel.

If the Command Doesn't Work

To run the php artisan command, you need to navigate to the root directory of the Laravel project.

cd larave-project

Navigate to the root directory of the project using the cd command before running the command.

Other Methods

Checking composer.lock.json

  "name": "laravel/framework",
  "version": "v10.38.2",

Open the file and use Ctrl + F for text search to find "laravel/framework".

Related article

How to Upgrade from Laravel6 to Laravel8

Conclusion

That's all for now.

If you have any thoughts or opinions, please contact me via Twitter DM.

Until next time!

Popular Articles

Deploying a PHP7.4 + Laravel6 Project to AWS EC2

Implementing Breadcrumbs in Laravel with laravel-breadcrumbs

Please Provide Feedback
We would appreciate your feedback on this article. Feel free to leave a comment on any relevant YouTube video or reach out through the contact form. Thank you!