0
我正在使用Cakephp和Miles的上傳插件。我已安裝了作曲家插件,並且正在使用最新版的wamp。在php中啓用Fileinfo擴展。當我嘗試使用作曲家進行更新時,它不會 - 它只是使用以前的版本。如果我更改json文件強制更新到最新版本,我會收到並顯示錯誤消息,告訴我ext-fileinfo不存在 - 但它是.............作曲家不會更新到最新的包
I需要獲得最新的版本,因爲我有這顯示了對我的網絡服務器這是運行PHP 5.3的錯誤(WAMP使用5.4)
附加信息: -
主要composer.json是: -
{"config":{"vendor-dir":"Vendor"},
"require": {
"mjohnson/uploader": "4.3.*",
"mjohnson/utility": "1.5.*",
"mjohnson/decoda": "*",
"titon/utility": "*",
"cakephp/debug_kit": "2.2.*"
}
}
我期待mjohnson/uploader更新(
設置composer.JSON子保持在上傳包: -
{
"name": "mjohnson/uploader",
"type": "cakephp-plugin",
"description": "File uploader and validation plugin for CakePHP.",
"keywords": ["cakephp", "uploader", "plugin", "file", "validation", "attachment"],
"homepage": "http://milesj.me/code/cakephp/uploader",
"license": "MIT",
"authors": [
{
"name": "Miles Johnson",
"homepage": "http://milesj.me"
}
],
"require": {
"php": ">=5.3.3",
"ext-curl": "*",
"ext-mbstring": "*",
"composer/installers": "*",`enter code here`
"mjohnson/transit": ">=1.4"
},
"support": {
"source": "https://github.com/milesj/Uploader"
}
}
,我也本來期望mjohnson /過境已更新
我們真的需要更多的信息,首先是你的'composer.json'文件。您還應該說明您希望更新庫的哪個組件。 – Sven