这些都是我一个翻阅词典查的 ,真心劳动成果。谢谢 提供给那些用的人 某些的用词可能不是很精确,欢迎纠正!!! 感谢本社区提供的 中文版的 laravel 的中文文档!! 所以,有好东西就会放在本社区!!!
c:\wamp\www\lv5>php artisan list
Laravel Framework version 5.0.13
Usage:
[options] command [arguments]
Options(选项):
–help (-h) Display this help message
1 |
显示帮助信息 |
–quiet (-q) Do not output any message
1 |
不输出任何消息 |
–verbose (-v|vv|vvv) Increase the verbosity of messages:
1 2 3 |
<span class="hljs-number">1</span> <span class="hljs-keyword" style="color:#0000FF;">for</span> normal output, <span class="hljs-number">2</span> <span class="hljs-keyword" style="color:#0000FF;">for</span> more verbose output <span class="hljs-keyword" style="color:#0000FF;">and</span> <span class="hljs-number">3</span> <span class="hljs-keyword" style="color:#0000FF;">for</span> debug 增加冗长的消息:<span class="hljs-number">1</span> 正常输出 <span class="hljs-number">2</span> 更加详细的输出 <span class="hljs-number">3</span>调试输出 |
–version (-V) Display this application version
1 |
显示此应用程序的版本 |
–ansi Force ANSI output
1 |
强制用 A<span class="hljs-built_in" style="color:#0000FF;">NSI</span>码输出 |
–no-ansi Disable ANSI output
1 |
禁用用 A<span class="hljs-built_in" style="color:#0000FF;">NSI</span>码输出 |
–no-interaction (-n) Do not ask any interactive question
1 |
不要问任何交互式问题 |
–env The environment the command should run under.
1 |
在环境命令下运行 |
Available commands(可用的命令):
clear-compiled Remove the compiled class file
1 |
清除编译后的类文件 |
down Put the application into maintenance mode
1 |
使应用程序进入维修模式 |
env Display the current framework environment
1 |
显示当前框架环境 |
fresh Remove the scaffolding included with the framework
1 |
清楚包含框架外的支架 |
help Displays help for a command
1 |
显示命令行的帮助 |
inspire Display an inspiring quote
1 |
显示一个启发灵感的引用 |
list Lists commands
1 |
列出命令 |
migrate Run the database migrations
1 |
运行数据库迁移 |
optimize Optimize the framework for better performance
1 |
为了更好的框架去优化性能 |
serve Serve the application on the PHP development server
1 |
在php开发服务器中服务这个应用 |
tinker Interact with your application
1 |
在你的应用中交互 |
up Bring the application out of maintenance mode
1 |
退出应用程序的维护模式 |
app
app:name Set the application namespace
1 |
设置应用程序命名空间 |
auth
auth:clear-resets Flush expired password reset tokens
1 |
清除过期的密码重置密钥 |
cache
cache:clear Flush the application cache
1 |
清除应用程序缓存 |
cache:table Create a migration for the cache database table
1 |
创建一个缓存数据库表的迁移 |
config
config:cache Create a cache file for faster configuration loading
1 |
创建一个加载配置的缓存文件 |
config:clear Remove the configuration cache file
1 |
删除配置的缓存文件 |
db
db:seed Seed the database with records
1 |
发送数据库的详细记录 |
event
event:generate Generate the missing events and handlers based on registration
1 |
在记录上生成错过的事件和基础程序 |
handler
handler:command Create a new command handler class
1 |
创建一个新的命令处理程序类 |
handler:event Create a new event handler class
1 |
创建一个新的事件处理程序类 |
key
key:generate Set the application key
1 |
设置程序密钥 |
make
make:command Create a new command class
1 |
生成一个命令类 |
make:console Create a new Artisan command
1 |
生成一个Artisan命令 |
make:controller Create a new resource controller class
1 |
生成一个资源控制类 |
make:event Create a new event class
1 |
生成一个事件类 |
make:middleware Create a new middleware class
1 |
生成一个中间件 |
make:migration Create a new migration file
1 |
生成一个迁移文件 |
make:model Create a new Eloquent model class
1 |
生成一个Eloquent 模型类 |
make:provider Create a new service provider class
1 |
生成一个服务提供商的类 |
make:request Create a new form request class
1 |
生成一个表单消息类 |
migrate
migrate:install Create the migration repository
1 |
创建一个迁移库文件 |
migrate:refresh Reset and re-run all migrations
1 |
复位并重新运行所有的迁移 |
migrate:reset Rollback all database migrations
1 |
回滚全部数据库迁移 |
migrate:rollback Rollback the last database migration
1 |
回滚最后一个数据库迁移 |
migrate:status Show a list of migrations up/down
1 |
显示列表的迁移 上/下 |
queue
queue:failed List all of the failed queue jobs
1 |
列出全部失败的队列工作 |
queue:failed-table Create a migration for the failed queue jobs database table
1 |
创建一个迁移的失败的队列数据库工作表 |
queue:flush Flush all of the failed queue jobs
1 |
清除全部失败的队列工作 |
queue:forget Delete a failed queue job
1 |
删除一个失败的队列工作 |
queue:listen Listen to a given queue
1 |
监听一个确定的队列工作 |
queue:restart Restart queue worker daemons after their current job
1 |
重启现在正在运行的所有队列工作 |
queue:retry Retry a failed queue job
1 |
重试一个失败的队列工作 |
queue:subscribe Subscribe a URL to an Iron.io push queue 去Iron.io
1 |
订阅URL,放到队列上 |
queue:table Create a migration for the queue jobs database table
1 |
创建一个迁移的队列数据库工作表 |
queue:work Process the next job on a queue
1 |
进行下一个队列任务 |
route
route:cache Create a route cache file for faster route registration
1 |
为了更快的路由登记,创建一个路由缓存文件 |
route:clear Remove the route cache file
1 |
清除路由缓存文件 |
route:list List all registered routes
1 |
列出全部的注册路由 |
schedule
schedule:run Run the scheduled commands
1 |
运行预定命令 |
session
session:table Create a migration for the session database table
1 |
创建一个迁移的SESSION数据库工作表 |
vendor
vendor:publish Publish any publishable assets from vendor packages
1 |
发表一些可以发布的有用的资源来自提供商的插件包 |