Composer Upgrade of CakePHP app

CakePHP 4 | CakePHP 5

Demo with sandbox

When doing major jumps, a lot of plugins need to be upped. This can be painful to do manually without framework-semver (plugin majors do not map to framework ones).

Enter your current (e.g. CakePHP 3) composer.json and get a recommended (currently CakePHP 4) one.

Input
Output
Note: The tool is only interested in the require/require-dev section, you can empty the rest if you want to.

Privacy note: This tool will not store your data. It calculates the result at runtime each time.