Add php functions for converting string to snake and camel case.