turn mockup into php