hereldar / faker-helper
Helper package to make it easier to generate fake values.
0.2.0
2024-07-28 07:23 UTC
Requires
- fakerphp/faker: ^1.23
Requires (Dev)
- hereldar/coding-style: ^0.1.2
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6
- psalm/plugin-phpunit: ^0.19.0
- vimeo/psalm: ^5.23.0
README
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:
- A PHPUnit test suite.
- PHPStan and Psalm for static code analysis.
- Easy Coding Standard to fix coding standards.
Documentation
All Faker formatters and locales are available:
Credits
License
The MIT License (MIT). Please see LICENSE for more information.