chore(example PHP app): make PHP app pass tests

This replaces #1