Faker
  • Quick start
  • Guide
    • Providers
      • SSN
      • Base
      • Address
      • Company
      • Datetime
      • Internet
      • Lorem
      • Phone number
      • Miscellaneous
      • Color
      • Credit card
      • File
      • Person
      • User agent
    • Localization
    • Randomness seed
    • Generator
  • Github
  • Website
  • Sponsor this project
Powered by GitBook
On this page

Was this helpful?

Edit on Git
  1. Guide
  2. Providers

Phone number

All parameters are optional. The sample parameters are the default values used by each function.

Faker.phone_number()
=> 1-954-928- 162


Faker.cell_phone()
=> 321.619.7786
PreviousLoremNextMiscellaneous

Last updated 4 years ago

Was this helpful?