How to find out what version of Laravel you are using?

Laravel: How to find out what version of Laravel you are using?

1) The artisan command: php artisan --version

2) You can also find it in the file vendor/laravel/framework/src/Illuminate/Foundation/Application.php

  1. class Application extends Container implements ApplicationContract, HttpKernelInterface
  2. {
  3.     /**
  4.      * The Laravel framework version.
  5.      *
  6.      * @var string
  7.      */
  8.     const VERSION = '5.6.29';

webdevetc profile pic
webdevetc

I am a 29 year old backend web developer from London, mostly focusing on PHP and Laravel lately. This (webdevetc.com) is my blog where I write about some web development topics (PHP, Laravel, Javascript, and some server stuff). contact me here.



More...


Comments and discussion about How to find out what version of Laravel you are using?

Found this interesting? Maybe you want to read some more in this series?

Or see other topics in the Laravel language

Or see other languages/frameworks:
PHP Laravel Composer Apache CentOS and Linux Stuff WordPress General Webdev and Programming Stuff JavaScript
Or see random questions

Push vs Pop vs Shift vs Unshift

How do Invokable Controllers work in Laravel?

How to find the 2nd most common item in an array?

How to exclude URLs from the Laravel CSRF protection?

What are route patterns in Laravel?

When is __destruct called in PHP?

Is multiple inheritance supported in PHP?

What is the difference between var, let and const in Javascript?

What is snake case?

Force trailing slash (redirect if no trailing slash exists) in .htaccess