1. 程式人生 > >composer安裝及使用

composer安裝及使用

roc mar http src watermark 國內 fig 圖片 type

  • 安裝:
    a. windows:
    a-1. 下載:
    git  clone  https://github.com/lj270304802/composer.git

    技術分享圖片
    a-2. 移動:
    將win下的文件移動到php所在目錄
    技術分享圖片
    b. linux:
    b-1. 下載:

    git  clone  https://github.com/lj270304802/composer.git
    mv  composer/linux/composer  /bin/

    c. 修改composer的鏡像為國內鏡像:

    composer  config  -g  repo.packagist  composer  https://packagist.phpcomposer.com
  • 使用:
    a.
  • composer安裝及使用