Add common library for PHP scripts

Signed-off-by: Jacques Marneweck <jacques@powertrip.co.za>