Updated php cookbook

Fixes #15