simplified php puppet