我正在尝试使用作曲家安装教义 2.0。
这就是我现在正在做的教程。我在运行它时遇到问题:“php composer.phar 更新
我得到错误:
我的配置/Application.config.php:
<?php
// config/application.config.php:
return array(
'modules' => array(
'Application',
'DoctrineModule',
'DoctrineORMModule',
'Album',
),
'module_listener_options' => array(
'config_glob_paths' => array(
'config/autoload/{,*.}{global,local}.php',
),
'module_paths' => array(
'./module',
'./vendor',
),
),
);
作曲家.json
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"minimum-stability": "dev",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.*",
"doctrine/doctrine-orm-module": "dev-master"
}
}
感谢您的帮助