• Symfony命令行


    Available commands:
     help                                  显示命令的帮助信息
     list                                  命令列表
    assetic
     assetic:dump                          将所有asset保存到文件系统。
    assets
     assets:install                        在公用网站目录中安装各Bundle网站的asset。
    cache
     cache:clear                           清除缓存
     cache:warmup                          Warms up一个空的缓存
    config
     config:debug                          将当前配置扩展
     config:dump-reference                 将默认配置扩展
    container
     container:debug                       为应用程序显示当前服务
    debug
     debug:config                          将当前配置的扩展
     debug:container                       显示应用程序的当前服务
     debug:event-dispatcher                显示应用程序的配置监听器
     debug:router                          显示应用程序的当前路径
     debug:swiftmailer                     显示应用程序的当前邮件
     debug:translation                     显示消息信息的翻译
     debug:twig                            列表显示Twig的功能,过滤器,全局变量和测试
    doctrine
     doctrine:cache:clear-metadata         为一个实体管理器清除所有的元数据缓存。
     doctrine:cache:clear-query            为一个实体管理器清除所有的查询缓存
     doctrine:cache:clear-result           为一个实体管理器清除结果缓存
     doctrine:database:create              创建一个已配置的数据库
     doctrine:database:drop                删除一个已配置的数据库
     doctrine:ensure-production-settings   确认在生产环境下Doctrine的配置是正确的
     doctrine:generate:crud                基于Doctrine实体生成增删改查(CRUD)
     doctrine:generate:entities            从您的映射信息中生成实体类和方法的存根
     doctrine:generate:entity              生成Bundle中的新Doctrine实体
     doctrine:generate:form                基于Doctrine实体生成一个表单类型类
     doctrine:mapping:convert              在支持的格式间转换映射信息
     doctrine:mapping:import               从已存在的数据库中导入映射信息
     doctrine:mapping:info                 显示所有被映射实体的基本信息
     doctrine:query:dql                    直接从命令行中运行任何的DQL
     doctrine:query:sql                    直接从命令行中运行任何的SQL
     doctrine:schema:create                执行(或转储)生成数据库方案所需的SQL语句
     doctrine:schema:drop                  执行(或转储)删除数据库方案所需的SQL语句
     doctrine:schema:update                执行(或转储)更新匹配当前映射元数据数据库方案所需的SQL语句
    generate
     generate:bundle                       生成Bundle
     generate:controller                   生成一个控制器
     generate:doctrine:crud                基于Doctrine实体生成CRUD
     generate:doctrine:entities            从您的映射信息中生成实体类和方法的存根
     generate:doctrine:entity              在Bundle中生成一个Doctrine的新实体
     generate:doctrine:form                基于Doctrine实体生成一个表单类型类
    init
     init:acl                              在数据库中安装ACL数据表
    orm
     orm:convert:mapping                   转换支持格式之间的映射信息
    router
     router:debug                          为应用程序显示当前路由
     router:dump-apache                    将所有路由转储为Apache重写规则
    security
     security:check                        检查你的项目依赖项的安全问题
    server
     server:run                            运行PHP内置的Web服务器
     server:start                          在后台开始PHP内置的Web服务器
     server:status                         输出给定地址的内置Web服务器的状态
     server:stop                           从服务器的启动命令停止PHP内置的Web服务器
    swiftmailer
     swiftmailer:debug                     显示应用程序的当前邮件
     swiftmailer:email:send                简单的邮件发送
     swiftmailer:spool:send                从池中发送电子邮件
    translation
     translation:debug                     显示消息信息的翻译
     translation:update                    更新翻译文件
    twig
     twig:debug                            列表显示Twig的功能,过滤器,全局变量和测试
     twig:lint                             lint一个模板输出遇到的错误
    yaml
     yaml:lint                             lint一个文件输出遇到的错误
  • 相关阅读:
    用OLEDB操作Excel时出现Selected collating sequence not supported by the operating system错误,附解决方法
    CLR via C#学习笔记:C#操作符重载学习( 基于.NET3.5 )
    CLR via C#学习笔记:C#转换操作符号学习
    解决ExecuteReader requires the command to have a transaction when the connection assigned to the command is in a pending local transaction.
    .NET中用SMTP发邮件的两中方法总结
    ADO.NET嵌套SQL事务一例
    SQL数据字典:查一个表的主Key是什么?(用于SQL 2000和2005)
    [转]什么是软件架构师?
    玩转SQL中的ANSI_NULLS
    SQL Server 2005发邮件的代码
  • 原文地址:https://www.cnblogs.com/boystar/p/6008395.html
Copyright © 2020-2023  润新知