Migration ZF3 to Laminas

Hello, trying to migrate ZF3 to Laminas

run laminas-migration migrate and received the error:

This command REMOVES your composer.lock file and vendor directory; do you wish to continue?y

Migrating project at path "/home/xxxxxx/app" to Laminas

Removing composer.lock
Removing configured vendor directory
Injecting laminas-dependency-plugin into composer.json
Performing migration replacements

In ComposerJsonZendFrameworkPackageSpecialCase.php line 118:
  Discovered unknown zendframework/zendframework constraint "3.1.x-dev"; cannot replace package 

what is the next possible steps?


Can you provide the content of the composer.json file before running the migration?

"zendframework/zendframework": "3.1.x-dev",

i reviewed sources
ComposerJsonZendFrameworkPackageSpecialCase.php line 118:
and found the issue:
it is possible to migrate from 3.0.0 version.

so i downgraded the dependency and run laminas-migration migrate one more time.

thanks! topic can be closed

The change to an officially released version should work.

Thanks for the feedback! :+1:t2: