This package provides a Faker provider that can be used to generate sample Accept-Language
HTTP headers.
composer require taavi/faker-acceptlanguage
use Faker\Factory;
use Taavi\FakerAcceptLanguage\AcceptLanguageFakerProvider;
$faker = Factory::create();
$faker->addProvider(new AcceptLanguageFakerProvider($faker));
echo $faker->acceptLanguage;
- MIT