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

How to select what columns to return when calling ::all()

What is the difference between empty(), isset(), != null, is_null() in PHP

How to check if a relation was loaded on an Eloquent model already?

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

How can you check if a variable is alphanum (alphanumeric, letters and numbers only) in PHP?

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

How to check if a user is logged in, inside a blade file?

How to set the timezone to UTC in .htaccess

How to access the Laravel's route parameters outside of the controller?

How to generate an array for a dropdown (with ['key' => 'value']) suitable for a dropdown, from a Laravel collection of Eloquent objects?