Add php snippet