I'm currently using the stof/doctrine-extensions-bundle
in one of my Symfony projects and this bundle requires gedmo/doctrine-extensions
. The latest version in gedmo/doctrine-extensions
is failing. But the solution is in one of the sibling branches v2.4.x.
https://github.com/Atlantic18/DoctrineExtensions/commit/0b7bdbefd3d166def27928dcd62ab67c11c8f172
Is it possible to add this branch in the requirements of stof/doctrine-extensions-bundle
or should I wait till the owner of the bundle creates a new tag?
Since this fix has not been released yet, you need to use branch for this dependency. You can do this by calling:
composer require "gedmo/doctrine-extensions:2.4.x-dev"
This will add this dependency to composer.json
of your project. But be careful with this and treat this only as a temporary workaround, till stable version with this fix will be released. Using branches for dependencies is usually not recommended.