Added the PHP class and example index file