junaooaks 3 Denunciar post Postado Outubro 22, 2014 ola pessoal estou tentando configurar o doctrine no projeto nao estou conseguindo com o comando php composer.phar require doctrine/doctrine-orm-module:dev-master esta aparecendo o erro: ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for doctrine/doctrine-orm-module dev-master -> satisfiable by doctrine/doctrine-orm-module[dev-master]. - doctrine/doctrine-orm-module dev-master requires doctrine/doctrine-module 0.9.* -> no matching package found. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. Installation failed, reverting ./composer.json to its original content. Compartilhar este post Link para o post Compartilhar em outros sites
rockrgo 138 Denunciar post Postado Outubro 22, 2014 é só colocar no composer.json e depois dar um install. { "require": { "doctrine/orm": "*" } } http://doctrine-orm.readthedocs.org/en/latest/reference/configuration.html Compartilhar este post Link para o post Compartilhar em outros sites
junaooaks 3 Denunciar post Postado Outubro 22, 2014 fazendo somente isso apareceu um erro: You are already using composer version a309e1d89ded6919935a842faeaed8e888fbfe37. [Seld\JsonLint\ParsingException] "./composer.json" does not contain valid JSON Parse error on line 13: ...ool": "dev-master" "doctrine/orm": "*" ---------------------^ Expected one of: 'EOF', '}', ':', ',', ']' install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN] Compartilhar este post Link para o post Compartilhar em outros sites