Further development on this project has stopped!!
Generic PHP Deobfuscator and Beautifier Class
The main algorithm is complete, however in order to massively deobfuscate a whole package it needs to run in context, else php errors will appear, which will make the deobfuscation problematic
This is still in progress for a generic way to do this