https://github.com/mysql-workbench-schema-exporter/mysql-workbench-schema-exporter 按照上面的作曲家指南,给我一个错误:
root包'mysql-workbench-schema-exporter / mysql-workbench-schema-exporter'>在其composer.json中不能要求自己 您是否在外部程序包后意外命名了根程序包?
我正在安装mysql-workbench-schema-exporter和导出器;该项目的doctrine2-exporter。多数民众赞成!
composer.json默认
{
"name" : "mysql-workbench-schema-exporter/mysql-workbench-schema-exporter",
"type" : "library",
"description" : "MySQL Workbench Schema Exporter",
"keywords" : [
"mysql",
"mysql workbench",
"database",
"cli",
"doctrine",
"propel",
"extjs",
"zend",
"sequelizejs"
],
"homepage" : "https://github.com/mysql-workbench-schema-exporter/mysql-workbench-schema-exporter",
"license" : "MIT",
"authors" : [{
"name" : "Johannes Mueller",
"email" : "circus2@web.de",
"role" : "Developer"
}, {
"name" : "Toha",
"email" : "tohenk@yahoo.com",
"role" : "Developer"
}, {
"name" : "Robert Vock",
"email" : "robertvock82@gmail.com",
"role" : "Developer"
}
],
"require" : {
"php" : ">=5.4.0",
"doctrine/inflector" : "^1.0.0"
},
"bin" : [
"bin/mysql-workbench-schema-export",
"bin/update-sql-reserved-words"
],
"autoload" : {
"psr-0" : {
"MwbExporter\\" : "lib/"
}
},
"require-dev": {
"mysql-workbench-schema-exporter/mysql-workbench-schema-exporter": "^3.0"
}
}