Loading…

What is faker in Laravel?

Faker is a type of module or packages which are used to create fake data for testing purposes. It can be used to produce all sorts of data.

It is used to generate the given data types.

  • Lorem text
  • Numbers
  • Person i.e. titles, names, gender, etc.
  • Addresses
  • DateTime
  • Phone numbers
  • Internet i.e. domains, URLs, emails etc.
  • Payments
  • Colour, Files, Images
  • UUID, Barcodes, etc

In Laravel, Faker is used basically for testing purposes.

Suggest An Answer

No suggestions avaliable!

Latest post from Laravel Interview Questions

Ask Question