php yii 命令
php yii 敲回车
This is Yii version 2.0.11.
The following commands are available:
- asset Allows you to combine and compress
                                            your JavaScript and CSS files.
    asset/compress (default)                Combines and compresses the asset
                                            files according to the given
                                            configuration.
    asset/template                          Creates template of configuration
                                            file for [[actionCompress]].
- cache                                     Allows you to flush cache.
    cache/flush                             Flushes given cache components.
    cache/flush-all                         Flushes all caches registered in the
                                            system.
    cache/flush-schema                      Clears DB schema cache for a given
                                            connection component.
    cache/index (default)                   Lists the caches that can be
                                            flushed.
- cron                                      计划任务
    cron/stat
- delete-msg-info
    delete-msg-info/index (default)         预览
    delete-msg-info/int
    delete-msg-info/run                     执行
- email
    email/daily-email                       每天下午6点
- fixture                                   Manages fixture data loading and
                                            unloading.
    fixture/load (default)                  Loads the specified fixture data.
    fixture/unload                          Unloads the specified fixtures.
- help                                      Provides help information about
                                            console commands.
    help/index (default)                    Displays available commands or the
                                            detailed information
    help/list                               List all available controllers and
                                            actions in machine readable format.
    help/list-action-options                List all available options for the
                                            $action in machine readable format.
    help/usage                              Displays usage information for
                                            $action
- message                                   Extracts messages to be translated
                                            from source files.
    message/config                          Creates a configuration file for the
                                            "extract" command using command line
                                            options specified
    message/config-template                 Creates a configuration file
                                            template for the "extract" command.
    message/extract (default)               Extracts messages to be translated
                                            from source code.
- migrate                                   Manages application migrations.
    migrate/create                          Creates a new migration.
    migrate/down                            Downgrades the application by
                                            reverting old migrations.
    migrate/history                         Displays the migration history.
    migrate/mark                            Modifies the migration history to
                                            the specified version.
    migrate/new                             Displays the un-applied new
                                            migrations.
    migrate/redo                            Redoes the last few migrations.
    migrate/to                              Upgrades or downgrades till the
                                            specified version.
    migrate/up (default)                    Upgrades the application by applying
                                            new migrations.
- move-mongo-files
    move-mongo-files/index (default)
    move-mongo-files/move-feedback
    move-mongo-files/move-one-field
- msg-schedule
    msg-schedule/index (default)
- pro-cost-stat                             统计任务成本
    pro-cost-stat/index (default)
- resque
    resque/index (default)                  This command echoes what you have
                                            entered as the message.
- resque-schedule
    resque-schedule/index (default)         This command echoes what you have
                                            entered as the message.
- serve                                     Runs PHP built-in web server
    serve/index (default)                   Runs PHP built-in web server
- shell                                     Runs interactive shell. That is
                                            especially useful when developing an
                                            application and you want to try
    shell/index (default)                   Runs interactive shell
- tmp
    tmp/device-name
- tools
    tools/contribution                      设置贡献率(最近半年
                                            180天、15人bug探索)
    tools/copycss
    tools/copyimg
    tools/device                            Des:更新apply_list报名表的设▒
                                            ▒▒表ID字段de_id
    tools/get-contribution-stat             Des:统计贡献率区间
    tools/packjs
    tools/pm-stat
    tools/recall                            Des:定时执行召回方法
    tools/set-bug-red-bags                  设置bug红包
    tools/set-pay-unusual-info              Des:异常打款老数据处理
    tools/visit
- user-contribution-stat                    贡献率统计数据
    user-contribution-stat/index (default)
To see the help of each command, enter:
yii help <command-name>
其中tools/packjs 会打包js
php yii tools/packjs 打包js和css 图片等资源
php yii 命令的更多相关文章
- yii2 Rbac使用yii命令一键建表
		
首先在web.php和console.php配置authmanager组件,web.php是应用配置文件,console.php是yii命令配置文件,都需要配置. 在components加入如下配置: ...
 - Yii命令行模式
		
(具体参数描述请使用命令看描述,不过全是英文) 1.Yii提供命令行指令不多,常用的有webapp 和 shell. 1. message 搜索指定文件信息 yicc message webroot ...
 - yii migrate  设计博客
		
yii migrate/create create_blog_table该命令生成的迁移文件位于 advanced\console\migrations 目录,可能你已经注意到了,yii migrat ...
 - php yii 学习笔记
		
yii 归档安装 1,下载 yii Yii2的高级应用程序模板 2,解压模板到目录,进入控制台进入目录 运行 php init 安装YII 3,进入 http://localhost/phpmyad ...
 - Yii2框架打包成Phar包报错的经历
		
以yii2为例 打包文件过程比较简单,但打包好以后简单测试yii命令,一直报错: PHP Fatal error: Uncaught yii\base\InvalidParamException: T ...
 - yii2 小技巧
		
参考地址:http://www.cnblogs.com/sandea/p/5714830.html 1.不通过日志获取AR执行的原生SQL语句和打印变量数据 $query = User::find() ...
 - YII2项目常用技能知识总结
		
1.不通过日志获取AR执行的原生SQL语句和打印变量数据 $query = User::find() ->select(['username'])->where(['id'=>[1, ...
 - yii2 刷新缓存(刷新模型缓存)
		
Yii2开启表结构缓存,因为当运用模型(model)时,AR的一些公共属性都会从DB中获取,这样会导致服务器负担一些额外的资源开销,实际上对于成品来说,服务器这些开始销是多余的,故应该阻止这种默认行为 ...
 - yiic创建YII应用 "php.exe"不是内部或外部命令 解决办法
		
第一步:运行CMD命令. 第二步:进入Yiic文件的目录 (例如在D盘里面 D:/yii/framework) 第三步:D:\yii\framework>yiic webapp D: ...
 
随机推荐
- bzoj3252: 攻略(贪心)
			
/* 因为权值都是正的, 所以贪心的正确性能保证 然后重链贪心跑一下就好了 */ #include<cstdio> #include<algorithm> #include&l ...
 - Java中的Map List Set等集合类
			
一.概述 二 set map list的区别 三. Collections类和Collection接口 四. List接口,有序可重复的集合 五. Set接口,代表无序,不可重复的集合 六. Map接 ...
 - vue2.0 slot用法
			
学习vue.js也有一段时间了,关于slot这一块,也看了不少次了,总感觉有点迷迷糊糊,不知其然也不知其所以然,抽出一段完整的时间,再一次仔细学习.稍微有点理解了,在此稍作记录,好记性不如烂笔头嘛! ...
 - 零基础学习python_列表和元组(10-13课)
			
一时兴起今天又回过头来补一下列表和元组,先来说说列表哈,列表其实是python最经常用到的数据类型了,不仅经常用还很强大呢,这个跟C语言里面的数组是类似的,列表当然也可以增删改查,不过我可没打算用之前 ...
 - 关于W8.1不能安装VS2015(包括2017等)
			
电脑本来是W7 64位+OPENCV3.1,今天突然系统崩溃了,然后感觉W7过时了遇到很多问题直接系统崩溃还得了啊,干脆装了一个W8.1了. 好吧~~本来想直接说问题的,干脆先把装系统给记录一下--& ...
 - android 开发 碎片Fragment布局例子(用按键切换碎片布局)
			
实现思路: 1.写一个父类布局,里面写一个按键和一个帧布局(用于给Fragment布局后续替代) 2.写3个子布局,并且在写3个class继承Fragment布局 3.在MainActivity的cl ...
 - 20165205 2017-2018-2 《Java程序设计》第八周学习总结
			
20165205 2017-2018-2 <Java程序设计>第八周学习总结 教材学习内容总结 进程与线程 线程不是进程,但其行为很像进程,线程是比进程更小的执行单位. 与进程不同,线程的 ...
 - [转]access 标准表达式中数据类型不匹配
			
好久没有用access,今儿遇到一个特别让人无语的问题: access数据表的Date/Time类型的字段,假如字段名为dtime: 如果直接用dtime=‘2013/9/6 10:50:21’,sq ...
 - 23.pyspider安装
			
1.pip安装pip3 install pyspider 2.验证安装 pyspider all 3.打开浏览器 输入:127.0.0.1:5000(如下图)
 - tensorflow 入门
			
1. tensorflow 官方文档中文版(下载) 2. tensorflow mac安装参考 http://www.tuicool.com/articles/Fni2Yr 3. 源码例子目录 l ...