PHP Project

Signed-off-by: Revamp Software, Inc. <softwarevamp@gmail.com>
fix getPrimary when there is a prefix

Signed-off-by: Revamp Software, Inc. <softwarevamp@gmail.com>