Upgrade composer.json
This command will guide you through upgrade your composer.json config rom version 1 to version 2.
How to use:
$ cd YOUR_PROJECT_PATH
$ wget https://raw.githubusercontent.com/ehsansabet/update_composer_json/main/crupg.php
$ chmod 755 ./crupg.php
$ ./crupg.php