composer安裝後臺模板

先下載composer的windows安裝包php

cmd切換到源代碼所在目錄html

http://www.javashuo.com/article/p-qkyefirs-co.htmlgit

安裝過程能夠參照這篇文章json

一點問題是須要修改,修改package.jsonwindows

"repository": {
"type": "git",
"url": "https://packagist.phpcomposer.com"
},服務器

這裏的url爲上面的地址composer

否則會報Composer\Downloader\TransportException]錯誤url

 

若是沒有開啓php openssl會報htm

NoSSLExceptionblog

須要在php中開啓

 

composer安裝時需指定php.exe文件路徑

和本地的服務器地址127.0.0,1

 

安裝後的後臺頁面:

相關文章
相關標籤/搜索