laravel 5.0 artisan 命令列表(中文简体)
#php artisan list
Laravel Framework version 5.0.
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:
for normal output, for more verbose output and for debug
增加冗长的消息: 正常输出 更加详细的输出 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
发表一些可以发布的有用的资源来自提供商的插件包
laravel 5.0 artisan 命令列表(中文简体)的更多相关文章
- php artisan 命令列表
php artisan 命令列表 命令获取 上面的翻译内容 命令 说明 备注 php artisan make:resource ? 创建api返回格式化资源 >=5.4版本可用 php ar ...
- laravel artisan 命令列表
5.4版本新增 命令 说明 备注 php artisan make:resource ? 创建api返回格式化资源 >=5.4版本可用 php artisan make:rule ? 创建val ...
- Laravel 5.0 之命令及处理程序
本文译自 Matt Stauffer 的 系列文章 . 本文中涉及的新功能都是关于 Commands 的,这些特性在 Laravel 旧版本中已经有了,但是在 Laravel 5.0 中变得更加好用了 ...
- laravel常用的artisan命令
转载来源链接: https://blog.csdn.net/jiandanokok/article/details/72897682 全局篇 查看artisan命令 php artisan php a ...
- 关于Laravel中的artisan命令
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; color: #454545 } p.p2 { margin: 0.0p ...
- Laravel artisan 命令
获取命令列表 php artisan Laravel Framework 7.26.0 Usage: command [options] [arguments] Options: -h, --help ...
- Laravel5.0学习--03 Artisan命令
本文以laravel5.0.22为例. 简介 Artisan 是 Laravel 内置的命令行接口.它提供了一些有用的命令协助您开发,它是由强大的 Symfony Console 组件所驱动.利用它, ...
- laravel中一些非常常用的php artisan命令
php artisan 命令在开发laravel项目中非常常用,下面是一些总结 composer config -g repo.packagist composer https://mirrors.a ...
- Laravel 的Artisan 命令学习
Laravel 的Artisan 命令学习 Artisan 是 Laravel 提供的 CLI(命令行接口),它提供了非常多实用的命令来帮助我们开发 Laravel 应用.前面我们已使用过 Artis ...
随机推荐
- linux下设置SSH无密码登陆
SSH配置 主机cloudgis22.edu.cn:192.168.3.21 主机cloudgis33.edu.cn:192.168.2.174 假设需要配置主机A无密码登录主机A,主机B,先确保所有 ...
- python oop __slots__方法
动态语言python 可以在程序运行的情况下给class加上功能.具体为 #引入一个 from types import MethodType #方法 #然后 s.set_age = MethodTy ...
- 无法debug断点跟踪JDK源代码——missing line number attributes的解决方法
在项目工程->Properties->Java Build Path->Libraries中导入的JRE System Library库里,给jar包添加JDK源代码包后,能够直接打 ...
- HDU 5861 Road (线段树)
Road 题目链接: http://acm.split.hdu.edu.cn/showproblem.php?pid=5861 Description There are n villages alo ...
- MecAnim
[MecAnim] MecAnim是Unity 4.0推出的新的动画系统,新系统使用Animator组件来控制动画,老系统使用Animation组件来控制动画.此篇讲述MecAnim系统. What ...
- 网易及新浪IP查询接口
通过IP地址获取对应的地区信息通常有两种方法:1)自己写程序,解析IP对应的地区信息,需要数据库.2)根据第三方提供的API查询获取地区信息. 第一种方法,参见文本<通过纯真IP数据库获取IP地 ...
- 微软IOC容器Unity简单代码示例3-基于约定的自动注册机制
@(编程) [TOC] Unity在3.0之后,支持基于约定的自动注册机制Registration By Convention,本文简单介绍如何配置. 1. 通过Nuget下载Unity 版本号如下: ...
- hdu 1576 A/B (扩展欧几里德简单运用)
http://acm.hdu.edu.cn/showproblem.php?pid=1576 A/B Time Limit: 1000/1000 MS (Java/Others) Memory Lim ...
- webconfig文件serviceHostingEnvironment节点出错的解决方法
在三点五和二版本的配置中可以出现这个节点,但是在4.0是没有的,所以如果框架是4.0的时候要除去这个节点,不然就会报以下错误: Configuration Error Description: An ...
- tryparse的用法,^0*[1-9]\d*$
Entry entry = new Entry(); Int32 iParam; if(Int32.TryParse(entry.ajh,out iParam)) { /*如果转换成功就输出iPara ...