<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>

                # 安裝項目 [TOC] ThinkPHP提供了很多種安裝的方式,Git也不錯但是我都是用的Composer,官網下載安裝就是去下載解壓也沒啥好說的。 ## Composer安裝 首先,什么是Composer呢? Composer是PHP用來管理依賴包的一個工具,通俗來說,composer是PHP用來下載并自動安裝外部類庫文件到項目中的工具 用Composer安裝TinkPHP項目,首先你的先安裝好Composer。 [Composer.exe](https://getcomposer.org/Composer-Setup.exe) 點擊即可下載Composer。安裝Composer也非常的簡單一直下一步下一步即可安裝成功。安裝完成后,在終端執行composer出現以下提示說明安裝成功 ``` C:\Users\Administrator>composer ______ / ____/___ ____ ___ ____ ____ ________ _____ / / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/ / /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ /_/ Composer version 1.8.0 2018-12-03 10:31:16 Usage: command [options] [arguments] Options: -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question --profile Display timing and memory usage information --no-plugins Whether to disable plugins. -d, --working-dir=WORKING-DIR If specified, use the given directory as working directory. -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug ``` 墻 國外的東西在國內都知道,下載非常慢有可能就根本沒戲。跟npm一樣,國內也有個鏡像服務器,我們可以在安裝項目時切換到國內的鏡像,這樣可以解決墻的問題。 切換到國內鏡像的命令: ``` composer config -g repo.packagist composerhttps://packagist.phpcomposer.com ``` Compser安裝擴展命令: [Composer依賴包庫地址](https://packagist.org/) ``` composer require [擴展包] ``` Compser更新命令: ``` composer update ``` ## Composer安裝項目 使用Composer安裝項目需要注意下,安裝的目錄不能為中文。 ``` composer create-project topthink/think tp5 --prefer-dist //安裝到最新版本 composer create-project topthink/think=5.0.* tp5 //安裝指定的版本 ```
                  <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>

                              哎呀哎呀视频在线观看