hereldar/faker-helper

Helper package to make it easier to generate fake values.

0.2.0 2024-07-28 07:23 UTC

This package is auto-updated.

Last update: 2024-10-28 08:05:20 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.