如何知道Laravel版本以及在哪里定义? [英] How to know Laravel version and where is it defined?

查看:209
本文介绍了如何知道Laravel版本以及在哪里定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何知道Laravel版本以及在哪里定义?

How to know Laravel version and where is it defined?

Laravel版本是在我的应用程序目录中还是在全局服务器端目录中的某个位置定义的?

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

更新

对不起,主要问题是在哪里定义版本?在哪里

Sorry, the main question is where the version is defined? Where does

php artisan --version

得到答案了吗?

更新2

目标是调查谁(我们当中)谁更改了我们网站上的Laravel版本.只能由github存储库版本更改吗?还是还需要服务器写访问权限?

The goal is to investigate, who (of us) has changed Laravel version on our site. Could it be changed by github repository edition only? Or server write access was also required?

推荐答案

从控制台运行php artisan --version.

版本字符串在这里定义:

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';

这篇关于如何知道Laravel版本以及在哪里定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆