{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.1.*"
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "stable"
}
我'在我的Windows控制檯執行此:如何運行composer.json?
php composer.json create-project test2
我只是得到了上面的字符串並沒有任何反應?如何正確運行composer.json來創建項目?
這裏的作曲家安裝指南,也'入門'應解釋如何工作,https://getcomposer.org/download/ –
...沒有人說其他細節...使用'作曲家更新'在同一個文件夾當composer命令(例如'%composer --version'的測試)已經存在於你的終端中時,它有'composer.json'。 –