Editing composer.json during installation…

is a silly thing to do. Your Laravel app will throw errors, likely a key won’t be generated, and everything will have a bad time. Just delete the composer.lock file and run another update. You’ll be good to go.