私はwamp64を使用しています。最新の安定版cakephp3にアップグレードしたいと思います。私は現在のバージョン3.2.xを持っていますwamp64 cakephp3のアップグレードでcomposer.pharを使用する
私は、crmというcakephpアプリケーションがインストールされている場所からコマンドを実行しました。私はドキュメントからこれを実行しますが、それは動作しません。必要composer.phar
PHP「cakephpの/ cakephpの:3.4 *」
エラー:オープン入力ファイルではありませんでした:公式の方法を実行するために何を見上げcomposer.phar は、発行anndは、誰かが私に言うことができますwamp64でアップグレードしますか?
Running Composer returns: "Could not open input file: composer.phar"
{
"name": "cakephp/app",
"description": "CakePHP skeleton app",
"homepage": "http://cakephp.org",
"type": "project",
"license": "MIT",
"require": {
"php": ">=5.5.9",
"cakephp/cakephp": "~3.2",
"mobiledetect/mobiledetectlib": "2.*",
"cakephp/migrations": "~1.0",
"cakephp/plugin-installer": "*"
},
"require-dev": {
"psy/psysh": "@stable",
"cakephp/debug_kit": "~3.2",
"cakephp/bake": "~1.1"
},
"suggest": {
"phpunit/phpunit": "Allows automated tests to be run without system-wide install.",
"cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP."
},
"autoload": {
"psr-4": {
"App\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"App\\Test\\": "tests",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests"
}
},
"scripts": {
"post-install-cmd": "App\\Console\\Installer::postInstall",
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
"post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump"
},
"minimum-stability": "stable",
"prefer-stable": true
}
まず、作者 'php composer.phar update'を更新しようとします。 – tarikul05
ファイルは存在しますか? – burzum
私は上記のようにcomposer.jsonというファイルを持っています。ウィンドウでは、あなたはコマンドを使用しないでください。明らかに、php composer.pharは "cakephp/cakephp:3.4。*" – jagguy