在Laravel 4中生成应用程序密钥 [英] Generating an application key in Laravel 4

查看:66
本文介绍了在Laravel 4中生成应用程序密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Laravel 4中是否删除了php artisan key:generate命令?

Has the php artisan key:generate command been removed in Laravel 4?

运行它将返回;

[InvalidArgumentException]                             
There are no commands defined in the "key" namespace.

您现在应该如何生成密钥?还是您需要手动创建一个?

How should you generate keys now? Or do you need to create one manually?

推荐答案

在提出问题时,Laravel尚未实现此功能.现在已经有了.

At the time the question was asked, this feature had not yet been implemented for Laravel. It has now.

这是对尚未发布的软件提出疑问的危险之一.答案将会改变.

This is one of the dangers of asking questions about software that's not yet been released. The answers will change.

这篇关于在Laravel 4中生成应用程序密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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