mordisacks / faker-php-hebrew
Hebrew (he_IL) provider for FakerPHP
1.0.0
2026-05-19 09:29 UTC
Requires
- php: ^7.4 || ^8.0
- fakerphp/faker: ^1.19
Requires (Dev)
- laravel/pint: ^1.29
- pestphp/pest: ^4.7
This package is auto-updated.
Last update: 2026-06-19 09:39:20 UTC
README
A Hebrew Lorem provider for FakerPHP. Fills a gap in
FakerPHP itself, which currently ships a he_IL locale that only includes
Payment — no Hebrew lorem ipsum, no Hebrew text generation. This package adds
that.
$faker = Faker\Factory::create('he_IL'); $faker->word(); // 'לורם' $faker->sentence(); // 'איפסום דולור סיט אמט קונסקטורר אדיפיסינג אלית.' $faker->paragraph(); // ... $faker->words(5, true); $faker->text();
Installation
composer require mordisacks/faker-php-hebrew
The provider is auto-discovered by FakerPHP's Factory::create('he_IL') thanks
to the PSR-4 namespace — no manual $faker->addProvider(...) call is needed.
If you'd rather wire it up manually:
$faker = new Faker\Generator(); $faker->addProvider(new Faker\Provider\he_IL\Lorem($faker));
Requirements
- PHP 8.2 or higher
fakerphp/faker^1.19
Testing
composer install ./vendor/bin/pest
Code style is checked with Pint:
./vendor/bin/pint --test