Open kmergen opened 9 months ago
I have try it on a symfony 6 webapp, there the installation works and install the 2.6 version.
As a workaround, you could install it with composer require "knplabs/doctrine-behaviors:^2.6.2" "doctrine/dbal:^3"
to get it to install v2 of this bundle. But that requires you not to be tied to DBAL 4 or ORM 3 by another package that you have installed.
I also wondered why after doing composer require knplabs/doctrine-behaviors
, the interface and trait explained in the docs were not available. Then I noticed the newest tag of this project is version 2.6.2
, but my composer.json shows version ^1.4
.
I was able to let install ^2.6.2
as @jontjs said with composer require "knplabs/doctrine-behaviors:^2.6.2"
, but first I had to remove composer.lock
, then change "doctrine/orm": "^3.2"
to "doctrine/orm": "^2"
.
It is not possible for me to install a version higher than 1.4.1. Here my composer.json