laravel 5.0 artisan 命令列表(中文简体)

这是 golaravel 社区网友 a939638621 对 laravel 命令行列表的翻译,感谢热心网友的付出.

这些都是我一个翻阅词典查的 ,真心劳动成果。谢谢 提供给那些用的人 某些的用词可能不是很精确,欢迎纠正!!! 感谢本社区提供的 中文版的 laravel 的中文文档!! 所以,有好东西就会放在本社区!!!

php artisan list

Laravel Framework version 5.0.13

Usage:

[options] command [arguments]

Options(选项): 

--help (-h)           Display this help message 

                    显示帮助信息

--quiet (-q)          Do not output any message 

                    不输出任何消息

--verbose (-v|vv|vvv) Increase the verbosity of messages: 

                    1 for normal output, 2 for more verbose output and 3 for debug 

                    增加冗长的消息:1 正常输出 2 更加详细的输出 3调试输出

--version (-V)        Display this application version 

                    显示此应用程序的版本

--ansi                Force ANSI output

                     强制用 ANSI码输出

--no-ansi             Disable ANSI output

                     禁用用 ANSI码输出

--no-interaction (-n) Do not ask any interactive question 

                    不要问任何交互式问题

--env                 The environment the command should run under. 

                    在环境命令下运行

Available commands(可用的命令):

clear-compiled       Remove the compiled class file 

                    清除编译后的类文件

down                 Put the application into maintenance mode 

                    使应用程序进入维修模式

env                  Display the current framework environment 

                    显示当前框架环境

fresh                Remove the scaffolding included with the framework 

                清楚包含框架外的支架

help                 Displays help for a command 

                显示命令行的帮助

inspire              Display an inspiring quote 

                    显示一个启发灵感的引用

list                 Lists commands 

                列出命令

migrate              Run the database migrations

                 运行数据库迁移

optimize             Optimize the framework for better performance 

                为了更好的框架去优化性能

serve                Serve the application on the PHP development server

                在php开发服务器中服务这个应用

tinker               Interact with your application 

                在你的应用中交互

up                   Bring the application out of maintenance mode

                退出应用程序的维护模式

app

app:name             Set the application namespace 

                设置应用程序命名空间

auth

auth:clear-resets    Flush expired password reset tokens 

                    清除过期的密码重置密钥

cache

cache:clear          Flush the application cache 

                清除应用程序缓存

cache:table          Create a migration for the cache database table

                创建一个缓存数据库表的迁移

config

config:cache         Create a cache file for faster configuration loading 

                创建一个加载配置的缓存文件 

config:clear         Remove the configuration cache file 

                删除配置的缓存文件

db

db:seed              Seed the database with records 

                发送数据库的详细记录

event

event:generate       Generate the missing events and handlers based on registration 

                在记录上生成错过的事件和基础程序

handler

handler:command      Create a new command handler class 

                创建一个新的命令处理程序类

handler:event        Create a new event handler class

                创建一个新的事件处理程序类

key

key:generate         Set the application key 

                设置程序密钥

make

make:command         Create a new command class 

                    生成一个命令类

make:console         Create a new Artisan command 

                    生成一个Artisan命令

make:controller      Create a new resource controller class 

                    生成一个资源控制类

make:event           Create a new event class 

                    生成一个事件类

make:middleware      Create a new middleware class 

                    生成一个中间件

make:migration       Create a new migration file 

                    生成一个迁移文件

make:model           Create a new Eloquent model class 

                    生成一个Eloquent 模型类

make:provider        Create a new service provider class 

                    生成一个服务提供商的类

make:request         Create a new form request class 

                    生成一个表单消息类

migrate

migrate:install      Create the migration repository 

                    创建一个迁移库文件

migrate:refresh      Reset and re-run all migrations 

                    复位并重新运行所有的迁移

migrate:reset        Rollback all database migrations 

                    回滚全部数据库迁移

migrate:rollback     Rollback the last database migration 

                    回滚最后一个数据库迁移

migrate:status       Show a list of migrations up/down 

                    显示列表的迁移 上/下

queue

queue:failed         List all of the failed queue jobs 

                    列出全部失败的队列工作

queue:failed-table   Create a migration for the failed queue jobs database table 

                    创建一个迁移的失败的队列数据库工作表

queue:flush          Flush all of the failed queue jobs 

                    清除全部失败的队列工作

queue:forget         Delete a failed queue job 

                    删除一个失败的队列工作

queue:listen         Listen to a given queue 

                    监听一个确定的队列工作

queue:restart        Restart queue worker daemons after their current job 

                    重启现在正在运行的所有队列工作

queue:retry          Retry a failed queue job 

                    重试一个失败的队列工作

queue:subscribe      Subscribe a URL to an Iron.io push queue 去Iron.io

                    订阅URL,放到队列上  

queue:table          Create a migration for the queue jobs database table 

                    创建一个迁移的队列数据库工作表

queue:work           Process the next job on a queue 

                    进行下一个队列任务

route

route:cache          Create a route cache file for faster route registration 

                    为了更快的路由登记,创建一个路由缓存文件

route:clear          Remove the route cache file 

                    清除路由缓存文件

route:list           List all registered routes 

                    列出全部的注册路由 

schedule

schedule:run         Run the scheduled commands 

                    运行预定命令

session

session:table        Create a migration for the session database table 

                    创建一个迁移的SESSION数据库工作表

vendor

vendor:publish       Publish any publishable assets from vendor packages 

                    发表一些可以发布的有用的资源来自提供商的插件包

参考来源:http://wenda.golaravel.com/article/240
时间: 2024-08-24 08:14:19

laravel 5.0 artisan 命令列表(中文简体)的相关文章

laravel artisan 命令列表

5.4版本新增 命令 说明 备注 php artisan make:resource ? 创建api返回格式化资源 >=5.4版本可用 php artisan make:rule ? 创建validate规则 >=5.4版本可用 php artisan make:exception ? 创建异常类 >=5.4版本可用 php artisan make:factory ? 创建工厂类 >=5.4版本可用 php artisan package:discover 重置包的缓存信息 &g

Laravel 的Artisan 命令学习

Artisan 是 Laravel 提供的 CLI(命令行接口),它提供了非常多实用的命令来帮助我们开发 Laravel 应用.前面我们已使用过 Artisan 命令来生成应用的 App Key 和控制器.在本教程中,我们会用到以下 Artisan 命令,你也可以使用 php artisan list 来查看所有可用的 Artisan 命令. 命令 说明 php artisan key:generate 生成 App Key php artisan make:controller 生成控制器 p

laravel中一些非常常用的php artisan命令

php artisan 命令在开发laravel项目中非常常用,下面是一些总结 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 配置阿里云服务器 composer global require "laravel/installer" 安装lara安装器 laravel new learn_laravel 新建项目 vendor/laravel/framework/src/Il

laravel开发之-php artisan命令

php artisan :所有的命令列表 php artisan make:controller 文件夹名称/控制器名称 :创建控制器的命令以及控制器放置的文件夹 php artisan make:model 文件夹名称/模版名称 php arisan migrate:refresh更新数据库表 php artisan db:seeder --class=数据填充模版名称 php artisan config:cache 更新配置文件缓存 php artisan make:migration c

用SignalR 2.0开发客服系统[系列5:使用SignalR的中文简体语言包和其他技术点]

前言 交流群:195866844 目录: 用SignalR 2.0开发客服系统[系列1:实现群发通讯] 用SignalR 2.0开发客服系统[系列2:实现聊天室] 用SignalR 2.0开发客服系统[系列3:实现点对点通讯] 用SignalR 2.0开发客服系统[系列4:负载均衡的情况下使用SignalR] 以上是系列目录,终于到了结束的时候了.... 为了这个系列,真的是绞尽脑汁,终于..决定在这里完结了.. 值得兴奋的是,在SignalR2.2的NuGet包中,终于出现了简体中文语言包.(

Django 2.0官方文档中文 渣翻 总索引(个人学习,欢迎指正)

Django 2.0官方文档中文 渣翻 总索引(个人学习,欢迎指正) 置顶 2017年12月08日 11:19:11 阅读数:20277 官方原文: https://docs.djangoproject.com/en/2.0/ 当前翻译版本: v2.0 Python版本要求: v3.4+ (译者注:本人目前在南京一家互联网公司工作,职位是测试开发工程师.因为测试工作中经常会用到编码语言,如Python.Java.Shell等,所以几年前萌生了对Python语法的学习.Django作为Python

红米3(ido)基于6.0.1适配第三方中文jirecovery/TWRP 3.0.2/刷遍所有ROM/官方不卡屏

TWRP3.0.2更新简介: TWRP是TeamWin团队https://github.com/TeamWin/Team-Win-Recovery-Project的开源项目,也是Omnirom系统默认的android_bootable_recovery. 红米3-TWRP-21060823更新日志: 1.基于Aink1199的20160805-cm13最新6.01内核制作. 2.基于omnirom-android-6.0适配. 3.加入禁止恢复官方recovery选项(刷完机重启时会提示). 4

Vi 常用命令列表

基本上vi可以分为三种状态,分别是命令模式(command mode).输入模式(Insert mode)和末行模式(last line mode),各模式的功能区分如下: 1) 命令模式(command mode) ? 控制屏幕光标的移动,字符.字或行的删除,移动复制某区段及进入Insert mode下,或者到 last line mode. ? 2) 输入模式(Insert mode) ? 只有在Insert mode下,才可以做文字输入,按「ESC」键可回到命令模式. ? 3) 末行模式(

IIS7.0 Appcmd 命令详解和定时重启应用池及站点的设置

IIS7.0 Appcmd 命令详解 废话不说!虽然有配置界面管理器!但是做安装包的时候命令创建是必不可少的!最近使用NSIS制作安装包仔细研究了一下Appcmd的命令,可谓是功能齐全. 上网查了些资料,那些博客大部分都是转载的别人的.都是些基本的介绍,很多命令都没介绍到(不知道是不是我走眼了). 就连微软的 技术资源库 也不详细: 附地址:http://technet.microsoft.com/zh-cn/library/cc772200(WS.10).aspx(反正我找了一遍!没找到我要的