This is more a proof of concept. The PHP code in this codebase is rather small, but not trivial, and worth being covered by tests. Change-Id: I20c713c3c3be5d289947a343cd4fbf5256234a4a