class up php

Signed-off-by: Jamie White <hello@jamie-white.com>