Top "Faker" questions

An extension or library used in certain programming languages or frameworks (namely Ruby or Yii2) for generating fake data for debug purposes and testing.

How to use Faker from Factory_boy

Factory_boy uses fake-factory (Faker) to generate random values, I would like to generate some random values in my Django …

python django factory faker factory-boy
How to generate latitude, longitude info using Faker from Laravel seeder?

I am trying to use Faker in a Laravel seeder. Here is how my seeder class look like <?php …

php laravel faker
How to get a city inside a specific country with Faker

I'm working with the Faker extension in Laravel 5 to populate my database. I have "countries" and "Cities" tables so I …

php laravel-5 faker
How to generate a unique fake email with a custom domain with faker?

I have a laravel application that requires the registered users must use their company email (custom domain). So how i …

php laravel laravel-5 faker
How to handle foreign key in FactoryGirl

I have a user model and a follower model, such that a user can have many followers. So in schema …

ruby-on-rails ruby-on-rails-4 factory-bot faker
Passing array values to laravel factory

I'm trying to create a fake data seeder using fzaninotto/faker and factory in Laravel 5.4. I want to send an …

php laravel laravel-5.4 factory faker
How to seed database in yii2?

I am new to Yii framework. I want to seed my database like it can be done in Laravel framework …

yii yii2 yii-extensions seeding faker
Laravel, Faker - Increment generated dateTime

I'm using Faker package in my Seeder to generate fake data for training events. Each event has starts_at and …

php datetime laravel increment faker
How to declare $faker in the seed file in Laravel when overriding for argument to factory?

I am trying to create multiple model of seeds like seedt1, seedt2, seedt3 with parameters for the sample. I am …

laravel faker laravel-seeding