如何将composer包含到phpbrowserbox中?https://sourceforge.net/projects/phpbrowserbox/files/
0)下载phpbrowserbox源https://github.com/dhtml/phpbrowserbox
1) 从手动下载下载composer.phar:https://getcomposer.org/download/并将这个composer.phar移到"...supportinetpub"
目录中。就我而言C:UsersgintareDownloadssupportinetpub
2) 在ame目录中创建compose.json
文件。就我而言,它是C:UsersgintareDownloadssupportinetpubcomposer.json
{
"name": "RecB2own",
"type": "project",
"description": "My Recipes",
"autoload": {
"psr-4": {
"src\core\" : "src/core/",
"Rec\RecipBundle\Entity\" : "src/Rec/RecipBundle/Entity/",
"Rec\RecipBundle\Controller\" : "src/Rec/RecipBundle/Controller/"
},
"classmap": [
"src/core/App.php",
"src/core/View.php",
"src/core/Controller.php"
]
},
"require": {
"doctrine/orm": "^2.5",
"twig/twig": "^1.24",
"filp/whoops": "^2.1"
}
}
3) 通过删除infront";"更改标记为配置文件的C:UsersgintareDownloadssupportphp
中的php.ini
extension=php_openssl.dll
4) 用cmd命令启动命令行
4a)更改为"...supportinetpub"
目录。就我而言,这是C:Usersgintare>cd C:UsersgintareDownloadssupportinetpub
4b)运行composer。就我而言,是
C: \Users\gintare\Downloads\support\inetpub>C:UsersgintareDownloadssupportphpphp C:UsersgintareDownloadssupportinetpubcomposer.phar install