hereldar/faker-helper

Helper package to make it easier to generate fake values.

0.1.1 2024-03-29 11:59 UTC

This package is auto-updated.

Last update: 2024-04-28 08:07:55 UTC


README

PHP Code Coverage Type Coverage Psalm Level Packagist License

Helper package to make it easier to use the Faker PHP library.

fake()->latitude();
fake('fr_FR')->firstName();
fake()->optional()->creditCardNumber();

Highlights

  • Ease of use
  • Type safety
  • Autocompletion

Installation

Via Composer:

composer require --dev hereldar/faker-helper

Development

Run the following commands from the project folder:

make tests
make static-analysis
make coding-standards

To execute:

Documentation

All Faker formatters and locales are available:

Credits

License

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