How to know Laravel version and where is it defined?

后端 未结 10 1126
陌清茗
陌清茗 2021-01-30 01:50

How to know Laravel version and where is it defined?

Is Laravel version is defined inside my application directory or somewhere in global server side directory?

10条回答
  •  终归单人心
    2021-01-30 02:45

    run php artisan --version from your console.

    The version string is defined here:

    https://github.com/laravel/framework/blob/master/src/Illuminate/Foundation/Application.php

    /**
     * The Laravel framework version.
     *
     * @var string
     */
     const VERSION = '5.5-dev';
    

提交回复
热议问题