How To Seed Database Using PHP Faker Library

preview_player
Показать описание
You have developed an application. You have created a database for your website. Now, to test your application you need some kind of fake data. Obviously, the question arises is there any fake data generator tool available online which can seed tables in the database?

Faker is a PHP library that generates fake data for your application.

Filling data manually in the database is a very time-consuming process. As a developer, we should not do this manual process. We are a developer and quite forward so we should always prefer some automated tools.

Using Faker library we can insert tons of dummy data in our database in some moments. All we need to do is generate dummy data like fake email, fake name, etc through Faker Formatters.

-~-~~-~~~-~~-~-
Please watch: "How To Add Two Step Authentication On WordPress Website"
-~-~~-~~~-~~-~-
Рекомендации по теме
visit shbcf.ru