Hej, znalazłem problem, który wynika ze złe kolejności instalowania bundli.
Gdy najpierw zainstaluje maker bundle i po nim chce instalowac doctrine otrzymuje błąd:
composer require symfony/orm-pack
Using version ^1.0 for symfony/orm-pack
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/orm-pack v1.0.0 requires doctrine/doctrine-bundle ^1.6 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.0, 1.6.1, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- symfony/orm-pack v1.0.1 requires doctrine/doctrine-bundle ^1.6 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.0, 1.6.1, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- symfony/orm-pack v1.0.2 requires doctrine/doctrine-bundle ^1.6 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.0, 1.6.1, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- symfony/orm-pack v1.0.3 requires doctrine/doctrine-bundle ^1.6.10 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- symfony/orm-pack v1.0.4 requires doctrine/doctrine-bundle ^1.6.10 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- symfony/orm-pack v1.0.5 requires doctrine/doctrine-bundle ^1.6.10 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- symfony/orm-pack v1.0.6 requires doctrine/doctrine-bundle ^1.6.10 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
- doctrine/doctrine-bundle 1.9.1 requires symfony/framework-bundle ^2.7.22|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.9.0 requires symfony/framework-bundle ^2.7.22|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.8.1 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.8.0 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.7.2 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.7.1 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.7.0 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.9 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.8 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.7 requires symfony/framework-bundle ~2.7|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.6 requires symfony/framework-bundle ~2.7|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.5 requires symfony/framework-bundle ~2.7|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.4 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.3 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.2 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.13 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.12 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.11 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.10 requires symfony/framework-bundle ~2.7|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.1 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.6.0 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
- doctrine/doctrine-bundle 1.12.8 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.7 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.6 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.5 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.4 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.3 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.2 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.1 requires symfony/cache ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.12.0 requires symfony/config ^3.4.30|^4.3.3 -> no matching package found.
- doctrine/doctrine-bundle 1.11.2 requires symfony/framework-bundle ^3.4|^4.1 -> no matching package found.
- doctrine/doctrine-bundle 1.11.1 requires symfony/framework-bundle ^3.4|^4.1 -> no matching package found.
- doctrine/doctrine-bundle 1.11.0 requires symfony/framework-bundle ^3.4|^4.1 -> no matching package found.
- doctrine/doctrine-bundle 1.10.3 requires symfony/framework-bundle ^2.7.22|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.10.2 requires symfony/framework-bundle ^2.7.22|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.10.1 requires symfony/framework-bundle ^2.7.22|~3.0|~4.0 -> no matching package found.
- doctrine/doctrine-bundle 1.10.0 requires symfony/framework-bundle ^2.7.22|~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.6 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.5 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.4 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.3 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.2 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.1 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.6.0 requires symfony/console ~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.5.14 requires symfony/console ~2.5|~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.5.13 requires symfony/console ~2.5|~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.5.12 requires symfony/console ~2.5|~3.0|~4.0 -> no matching package found.
- doctrine/orm v2.5.11 requires symfony/console ~2.5|~3.0 -> no matching package found.
- Conclusion: don't install symfony/orm-pack v1.0.8
- Conclusion: remove doctrine/inflector 2.0.0
- Conclusion: don't install symfony/orm-pack v1.0.8|remove doctrine/inflector 2.0.0|install doctrine/orm 2.1.3|install doctrine/orm 2.1.4|install doctrine/orm 2.1.5|install doctrine/orm 2.1.6|install doctrine/orm 2.1.7|install doctrine/orm 2.2.0|install doctrine/orm 2.2.1|install doctrine/orm 2.2.2|install doctrine/orm 2.2.3
- Conclusion: don't install symfony/orm-pack v1.0.8|don't install doctrine/inflector 2.0.0|install doctrine/orm 2.1.3|install doctrine/orm 2.1.4|install doctrine/orm 2.1.5|install doctrine/orm 2.1.6|install doctrine/orm 2.1.7|install doctrine/orm 2.2.0|install doctrine/orm 2.2.1|install doctrine/orm 2.2.2|install doctrine/orm 2.2.3
- Installation request for symfony/cache (locked at v5.0.8) -> satisfiable by symfony/cache[v5.0.8].
- Conclusion: don't install symfony/orm-pack v1.0.8|remove doctrine/inflector 2.0.0|install doctrine/orm 2.1.3|install doctrine/orm 2.1.4|install doctrine/orm 2.1.5|install doctrine/orm 2.1.6|install doctrine/orm 2.1.7|install doctrine/orm 2.2.0|install doctrine/orm 2.2.1|install doctrine/orm 2.2.2|install doctrine/orm 2.2.3
- Conclusion: don't install symfony/orm-pack v1.0.8|don't install doctrine/inflector 2.0.0|install doctrine/orm 2.1.3|install doctrine/orm 2.1.4|install doctrine/orm 2.1.5|install doctrine/orm 2.1.6|install doctrine/orm 2.1.7|install doctrine/orm 2.2.0|install doctrine/orm 2.2.1|install doctrine/orm 2.2.2|install doctrine/orm 2.2.3
- Installation request for symfony/orm-pack ^1.0 -> satisfiable by symfony/orm-pack[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8].
- Conclusion: don't install doctrine/inflector 2.0.0
- symfony/orm-pack v1.0.7 requires doctrine/orm ^2.5.11 -> satisfiable by doctrine/orm[v2.5.11, v2.5.12, v2.5.13, v2.5.14, v2.6.0, v2.6.1, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.7.0, v2.7.1, v2.7.2].
- doctrine/orm v2.7.0 requires doctrine/common ^2.11 -> satisfiable by doctrine/common[2.12.0, v2.11.0].
- doctrine/orm v2.7.1 requires doctrine/common ^2.11 -> satisfiable by doctrine/common[2.12.0, v2.11.0].
- doctrine/orm v2.7.2 requires doctrine/common ^2.11 -> satisfiable by doctrine/common[2.12.0, v2.11.0].
- doctrine/common 2.12.0 requires doctrine/inflector ^1.0 -> satisfiable by doctrine/inflector[1.3.1, 1.4.0, v1.0, v1.0.1, v1.1.0, v1.2.0, v1.3.0].
- doctrine/common v2.11.0 requires doctrine/inflector ^1.0 -> satisfiable by doctrine/inflector[1.3.1, 1.4.0, v1.0, v1.0.1, v1.1.0, v1.2.0, v1.3.0].
- Can only install one of: doctrine/inflector[1.3.1, 2.0.0].
- Can only install one of: doctrine/inflector[1.4.0, 2.0.0].
- Can only install one of: doctrine/inflector[v1.2.0, 2.0.0].
- Can only install one of: doctrine/inflector[v1.3.0, 2.0.0].
- Can only install one of: doctrine/inflector[v1.0, 2.0.0].
- Can only install one of: doctrine/inflector[v1.0.1, 2.0.0].
- Can only install one of: doctrine/inflector[v1.1.0, 2.0.0].
- Installation request for doctrine/inflector (locked at 2.0.0) -> satisfiable by doctrine/inflector[2.0.0].
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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Niestety nie do końca go rozumiem. Po zainstalowaniu bundli w odwrotnej kolejności wszystko jest w porządku.