You are here

README.txt in Mobile Number 2.0.x

Same filename and directory in other branches
  1. 8 README.txt
  2. 7 README.txt
MOBILE NUMBER
-------------

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Recommended Modules
 * Features
 * Integration (with other modules)
 * Installation

INTRODUCTION
------------

Mobile Number is a field type that provides mobile number validation and
verification, and can be used for two factor authentication. It works with
SMS Framework and TFA modules, respectively, and both features are optional.

The module differs from the Phone module in that it puts security and
authenticity first, and focuses on mobile numbers which therefore assumes sms
and smartphone capabilities by the user. The number is sanitized before saving,
country is validated, the number is validated to be a mobile number type,
allows uniqueness validation, and, if enabled, allows verifying number
ownership by the user. For verification, codes are hashed and tokenized in the
database. See the case for a dedicated mobile number field.
(https://www.drupal.org/node/2783505)

The module uses libphonenumber (developed by Google for use in Android) for
validation, and supports the mobile number formats of the countries listed
here (https://github.com/giggsey/libphonenumber-for-php/blob/master/src/
libphonenumber/ShortNumbersRegionCodeSet.php), which is basically all of them.


REQUIREMENTS
------------

This module requires the following php library:
 * giggsey/libphonenumber-for-php (https://github.com/giggsey/libphonenumber-for-php)


RECOMMENDED MODULES
-------------------

 * SMS Framework (https://www.drupal.org/project/smsframework):
 * TFA (https://www.drupal.org/project/tfa):


FEATURES
--------

 * Mobile number validation
 * Mobile number verification
 * Uniqueness validation
 * Two factor authentication


INTEGRATION (WITH OTHER MODULES)
--------------------------------

 * Feeds
 * Telephone
 * Devel
 * TFA
 * SMS Framework


INSTALLATION
------------

 * Install as you would normally install a contributed Drupal module. See:
   https://drupal.org/documentation/install/modules-themes/modules-7
   for further information.
 * Install the  libphonenumber project using Drupal's root composer.
 * For mobile number verification, download, enable, and configure SMS
   Framework. You will need to setup an SMS gateway, which will require
   setting up an account and paying fees on a 3rd party service, or use SMS
   Framework's default logger gateway for testing.
 * For two factor authentication, complete step 3 and download, enable, and
   configure TFA.

File

README.txt
View source
  1. MOBILE NUMBER
  2. -------------
  3. CONTENTS OF THIS FILE
  4. ---------------------
  5. * Introduction
  6. * Requirements
  7. * Recommended Modules
  8. * Features
  9. * Integration (with other modules)
  10. * Installation
  11. INTRODUCTION
  12. ------------
  13. Mobile Number is a field type that provides mobile number validation and
  14. verification, and can be used for two factor authentication. It works with
  15. SMS Framework and TFA modules, respectively, and both features are optional.
  16. The module differs from the Phone module in that it puts security and
  17. authenticity first, and focuses on mobile numbers which therefore assumes sms
  18. and smartphone capabilities by the user. The number is sanitized before saving,
  19. country is validated, the number is validated to be a mobile number type,
  20. allows uniqueness validation, and, if enabled, allows verifying number
  21. ownership by the user. For verification, codes are hashed and tokenized in the
  22. database. See the case for a dedicated mobile number field.
  23. (https://www.drupal.org/node/2783505)
  24. The module uses libphonenumber (developed by Google for use in Android) for
  25. validation, and supports the mobile number formats of the countries listed
  26. here (https://github.com/giggsey/libphonenumber-for-php/blob/master/src/
  27. libphonenumber/ShortNumbersRegionCodeSet.php), which is basically all of them.
  28. REQUIREMENTS
  29. ------------
  30. This module requires the following php library:
  31. * giggsey/libphonenumber-for-php (https://github.com/giggsey/libphonenumber-for-php)
  32. RECOMMENDED MODULES
  33. -------------------
  34. * SMS Framework (https://www.drupal.org/project/smsframework):
  35. * TFA (https://www.drupal.org/project/tfa):
  36. FEATURES
  37. --------
  38. * Mobile number validation
  39. * Mobile number verification
  40. * Uniqueness validation
  41. * Two factor authentication
  42. INTEGRATION (WITH OTHER MODULES)
  43. --------------------------------
  44. * Feeds
  45. * Telephone
  46. * Devel
  47. * TFA
  48. * SMS Framework
  49. INSTALLATION
  50. ------------
  51. * Install as you would normally install a contributed Drupal module. See:
  52. https://drupal.org/documentation/install/modules-themes/modules-7
  53. for further information.
  54. * Install the libphonenumber project using Drupal's root composer.
  55. * For mobile number verification, download, enable, and configure SMS
  56. Framework. You will need to setup an SMS gateway, which will require
  57. setting up an account and paying fees on a 3rd party service, or use SMS
  58. Framework's default logger gateway for testing.
  59. * For two factor authentication, complete step 3 and download, enable, and
  60. configure TFA.