Open up playerTech.entity
Under entities->planetModuleInfo->Page:1 add your Phase Gate entity (original is PLANETMODULE_ORBITALPHASEGATE or so)
Under entities->researchInfo add your Phase Stabiliser research subject (original is RESEARCHSUBJECT_PLANETMODULEACCESS_PHASEGATE I think)
Increase item counts as always.
If you are using the original module and research you might have to move a TEC research for the button to show up. If you are using a custom research change the researchPrerequisite in your PLANETMODULE file to your custom research, and move that wherever you want in the techtree.
Use the Dev.exe to check for errors (overlapping research buttons, typos)