fix php routing and string cases to all lower