update documentation with a php example