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 do Invokable Controllers work in Laravel?

How to output (echo/print) content in PHP

How to sort an array of dates and times?

How to find the index of a value in an array in JS?

How to pick what array_intersect function to use in PHP?

What are macros in Laravel?

What is the loop variable in a @foreach loop in Blade?

How to prevent Eloquent from adding created_at or updated_at timestamps?

What are generators in PHP, and how do they compare to arrays?

How to destroy or remove a cookie in PHP