taavi / faker-acceptlanguage
a Faker provider for generating HTTP Accept-Language headers
Installs: 1 000
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.3|^8.0
- fakerphp/faker: ^1.12
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-03-07 03:29:25 UTC
README
This package provides a Faker provider that can be used to generate sample Accept-Language
HTTP headers.
Installing
Install the package from composer
composer require taavi/faker-acceptlanguage
Use
use Faker\Factory; use Taavi\FakerAcceptLanguage\AcceptLanguageFakerProvider; $faker = Factory::create(); $faker->addProvider(new AcceptLanguageFakerProvider($faker)); echo $faker->acceptLanguage;
License
- MIT