ataone / faker-green-fr-fr
Faker is a PHP library that generates fake data for you. This is a "green" fork with only two locales: en_US and fr_FR.
Requires
- php: ^7.4 || ^8.0
- psr/container: ^1.0 || ^2.0
- symfony/deprecation-contracts: ^2.2 || ^3.0
Requires (Dev)
- ext-intl: *
- bamarni/composer-bin-plugin: ^1.4.1
- doctrine/persistence: ^1.3 || ^2.0
- phpunit/phpunit: ^9.5.26
- symfony/phpunit-bridge: ^5.4.16
Suggests
- ext-curl: Required by Faker\Provider\Image to download images.
- ext-dom: Required by Faker\Provider\HtmlLorem for generating random HTML.
- ext-iconv: Required by Faker\Provider\ru_RU\Text::realText() for generating real Russian text.
- ext-mbstring: Required for multibyte Unicode string functionality.
- doctrine/orm: Required to use Faker\ORM\Doctrine
Conflicts
This package is auto-updated.
Last update: 2024-10-24 18:48:39 UTC
README
This repository is a fork of FakerPHP/Faker. It has been created in order to reduce the carbon footprint of Faker.
Indeed, as reported by the original developer François Zaninotto on his blog post Sunsetting PHP Faker, there is now too much locales supported, with a real and negative impact on the amount of bytes downloaded.
Limiting Faker by reducing the number of locales supported is probably the only way to quickly avoid this carbon footprint issue.
In conclusion, this unofficial repository is Faker, but only with two locales supported :
- en_US : the default one.
- fr_FR : the one which I need (and maybe you too)
Documentation & License
See the official documentation: the only change is the removal of unnecessary providers.