Use libphonenumber for PHP as dependency.