I've done non-trivial projects in Phaser and Godot... I thought I would never prefer an editor oriented engine (after trying Unity), but I've done a complete 180* on that. Managing game objects and their inheritance tree in the editor makes life so much easier and less bug prone and attaching the scripts makes accessing relevant code much easier. Also, every feature in the editor UI seems to have a code counterpart.
Maybe it's just that Godot is incredibly good at what it does (for 2d game dev), but regardless, it's been a joy to use where Phaser was a drag. I don't personally have any use cases where I would go back to Phaser or any JS Engines like it.