工匠新鲜指挥 [英] Artisan fresh command

查看:75
本文介绍了工匠新鲜指挥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何删除Laravel 5中包含的所有样板文件,例如引导程序/身份验证等? 在laracast的课程中,Jeffrey Way讲述了php artisan fresh命令,但是在稳定版本中没有这样的命令

How can I remove all the boilerplate included in Laravel 5, such as bootstrap/authentication etc? In laracasts lessons Jeffrey Way told about php artisan fresh command, but there is no such command in stable release

推荐答案

不幸的是,在发布Laracasts剧集之后-Taylor在2014年12月17日删除了fresh命令:

Unfortunately after that Laracasts episode was posted - Taylor removed the fresh command on Dec 17 2014: https://github.com/laravel/framework/commit/37ebc7ecc693405a717239ca30e0586d0a71e4d3

现在,您必须自己手动删除文件.或创建一个拉取请求以将其重新添加.

For now you'll have to manually delete the files yourself. Or create a pull request to add it back in.

更新2月27日:截至今天,artisan fresh命令又在Laravel 5中返回 https ://github.com/laravel/framework/commit/c69ddcf4941f6b23349b882171c44e0071963647

Update 27th Feb: As of today the artisan fresh command is back in Laravel 5 https://github.com/laravel/framework/commit/c69ddcf4941f6b23349b882171c44e0071963647

6月9日更新:令人遗憾的消息是,从Laravel 5.1开始,artisan fresh命令再次被删除.

Update 9th June: Sad news, as of Laravel 5.1 artisan fresh command is removed again.

这篇关于工匠新鲜指挥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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