Slim version of Faker. Faker is a PHP library that generates fake data for you.

v0.1.0 2023-06-19 15:46 UTC

This package is auto-updated.

Last update: 2024-02-19 17:18:03 UTC


Latest Version on Packagist Software License Total Downloads Build Status

This is slim (~9Mb less) version of

Only following languages are available: en_GB, en_US, pl_PL


  1. replaced custom DI container with phpwatch/simple-container
  2. added typehintint (removed phpdoc params)
  3. added declare(strict_types=1);
  4. removed all languages except en_GB, en_US, pl_PL
  5. removed ORM support
  6. removed deprecated code (since this is already BC break from original Faker)
  7. removed File, Image, HtmlLorem providers
  8. removed Barcode provider (there still is Barcode Extension)

Basic Usage

Use Fejker\Factory::create() to create and initialize a Fejker generator, which can generate data by accessing methods named after the type of data you want.


// use the factory to create a Fejker\Generator instance
$faker = Fejker\Factory::create();
// generate data by calling methods
echo $faker->name();
// 'Vince Sporer'
echo $faker->email();
// ''
echo $faker->text();
// 'Numquam ut mollitia at consequuntur inventore dolorem.'


The MIT License (MIT). Please see License File for more information.