I'm not a 100% sure that Elgg 3.3 is compatible with Composer v2, but it is with Composer v1. Therefor I'll try to make the steps for for using Composer v1.
What i see already has happened:
Always make a backup before proceeding with the steps below
The reason some of the composer dependencies couldn't be found is probably that some parts in the composer.json are missing. For the best example check out https://github.com/Elgg/starter-project/blob/3.3/composer.json this is the composer.json which we use to create the ZIP releases here on the community.
When updating the composer.json to the given example please consider directly changing https://github.com/Elgg/starter-project/blob/3.3/composer.json#L9 from "3.*" to "~3.3.0"
After that the following commands can be executed
Your site is now running Elgg 3.3 and can be used again.
The documentation you used was created for updating from Elgg 2.3 to Elgg 3.0 and hasn't been updated after that (for Elgg 3.1 etc). We'll look into that.
I hope this will help somewhat.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.