Which packge of zfr/zfr-cors should go with Laminas API Tools

In order to solve the CORS problem I tried installing the ZFR-CORS 2.0.0 package.

composer require zfr/zfr-cors:2.0.0

I am facing the error, as follows:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- doctrine/doctrine-module is locked to version 4.4.0 and an update of this package was not requested.
- zfr/zfr-cors v2.0.0 requires zendframework/zend-servicemanager ^2.7.9 || ^3.4.0 → satisfiable by zendframework/zend-servicemanager[2.7.9, 2.7.10, 2.7.11, 3.4.0].
- laminas/laminas-servicemanager 3.10.0 conflicts with zendframework/zend-servicemanager 3.4.0.
- laminas/laminas-servicemanager 3.10.0 conflicts with zendframework/zend-servicemanager 2.7.11.
- laminas/laminas-servicemanager 3.10.0 conflicts with zendframework/zend-servicemanager 2.7.10.
- laminas/laminas-servicemanager 3.10.0 conflicts with zendframework/zend-servicemanager 2.7.9.
- doctrine/doctrine-module 4.4.0 requires laminas/laminas-servicemanager ^3.7.0 → satisfiable by laminas/laminas-servicemanager[3.10.0].
- Root composer.json requires zfr/zfr-cors 2.0.0 → satisfiable by zfr/zfr-cors[v2.0.0].

In view of the above what is the option that I can try.

Check LmcCors:

1 Like