kisphp/faker-en

dev-main 2021-11-10 22:52 UTC

This package is auto-updated.

Last update: 2024-11-05 09:32:33 UTC


README

pipeline status coverage report

Installation

composer require kisphp/faker-en

Usage

<?php

require '/path/to/vendor/autoload.php';

$faker = \Kisphp\Faker\Factory::create();

// get a masculine name
echo $faker->person->firstNameMale;

// get a feminine name
echo $faker->person->firstNameFemale;

// get a random paragraph (generated from LoremIpsum)
echo $faker->text->randomParagraph();