<\/a> But now lots of PHP<\/a> libraries are available to tackle this problem. Faker<\/a> is one of them. Faker is a fake data library inspired by PERL\u2019s Data::Faker and by RUBY\u2019s Faker. As per official definition. <\/p>\n Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you.<\/p><\/blockquote>\n There are 3 ways to download Faker. Composer, GIT and direct download .In this tutorial I am going to download Faker via GIT. <\/p>\n After downloading Faker via GIT its directory structure will look like this.<\/p>\n
\nAs a developer almost every project that I am working needs some dummy data. Because without data I cannot test my application in which I am working. In the old days of my programming I usually create a form and insert dummy data. To be very honest I hate that process because data insertion took lot of time.<\/p>\nFaker Installation:<\/h2>\n
GIT Link:<\/h4>\n
https:\/\/github.com\/fzaninotto\/Faker.git<\/code><\/p>\n
Direct Download Link:<\/h4>\n
https:\/\/github.com\/fzaninotto\/Faker\/archive\/master.zip<\/code><\/p>\n
Composer Command:<\/h4>\n
composer require fzaninotto\/faker<\/code><\/p>\n