<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ThinkPHP6支持`Console`應用,通過命令行的方式執行一些URL訪問不方便或者安全性較高的操作。 我們可以在cmd命令行下面,切換到應用根目錄(注意不是web根目錄),然后執行`php think`,會出現下面的提示信息: ```shell >php think version 6.0.0 Usage: command [options] [arguments] Options: -h, --help Display this help message -V, --version Display this console version -q, --quiet Do not output any message --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Available commands: build Build Application Dirs clear Clear runtime file help Displays help for a command list Lists commands run PHP Built-in Server for ThinkPHP version show thinkphp framework version make make:command Create a new command class make:controller Create a new resource controller class make:event Create a new event class make:listener Create a new listener class make:middleware Create a new middleware class make:model Create a new model class make:service Create a new Service class make:subscribe Create a new subscribe class make:validate Create a validate class optimize optimize:config Build config and common file cache. optimize:facade Build facade ide helper. optimize:route Build app route cache. optimize:schema Build database schema cache. route route:build Build Annotation route rule. route:list show route list. service service:discover Discover Services for ThinkPHP vendor vendor:publish Publish any publishable assets from vendor packages ``` `console`命令的執行格式一般為: >[info]### >php think 指令 參數 下面介紹下系統自帶的幾個命令,包括: |指令 | 描述| |---|---| |build|自動生成應用目錄和文件| |help|幫助| |list|指令列表| |clear|清除緩存指令| |run|啟動PHP內置服務器| |version|查看當前框架版本號| |make:controller|創建控制器類| |make:model|創建模型類| |make:command|創建指令類文件| |make:validate|創建驗證器類| |make:middleware|創建中間件類| |make:event|創建事件類| |make:listener|創建事件監聽器類| |make:subscribe|創建事件訂閱者類| |make:service|創建系統服務類| |optimize:autoload|生成類庫映射文件| |optimize:config|生成配置緩存文件| |optimize:schema|生成數據表字段緩存文件| |optimize:facade|生成Facade注釋| |route:build|生成注解路由| |route:list|查看路由定義| |service:discover|自動注冊擴展包的系統服務| |vendor:publish|自動生成擴展的配置文件| 更多的指令可以自己擴展。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看