Generating an application key in Laravel 4

我只是一个虾纸丫 提交于 2019-12-24 15:20:07

问题


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

Running it returns;

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

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


回答1:


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.



来源:https://stackoverflow.com/questions/14231916/generating-an-application-key-in-laravel-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!