說明
Php Plugins 須透過 Composer 安裝,
如果只是把 source 放在資料夾裡,伺服器不會去找來用,
安裝流程
1. download Composer
2. clone composer、composer.bat、composer.phar 三個檔案到 專案資料夾
3. 製作 composer.json 檔案
以 reCatcha 例為
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.*",
"zendframework/zendservice-recaptcha": "2.*"
4. 執行 cmd => php composer.phar install
參考資料
http://adam.lundrigan.ca/2010/11/using-zend_captcha_recaptcha/
https://github.com/zendframework/ZendService_ReCaptcha
http://stackoverflow.com/questions/12403623/installing-suggested-composer-packages-zf2-zend-framework-2
http://getcomposer.org/
http://huang.yunsong.net/2009/windows-php-openssl.html
https://developers.google.com/recaptcha/?hl=zh-TW
留言
張貼留言