Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supertassu/faker-acceptlanguage
a Faker provider for generating HTTP Accept-Language headers
https://github.com/supertassu/faker-acceptlanguage
accept-language faker faker-generator php
Last synced: 8 days ago
JSON representation
a Faker provider for generating HTTP Accept-Language headers
- Host: GitHub
- URL: https://github.com/supertassu/faker-acceptlanguage
- Owner: supertassu
- Created: 2020-12-06T16:18:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T18:40:28.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T19:46:02.242Z (about 1 month ago)
- Topics: accept-language, faker, faker-generator, php
- Language: PHP
- Homepage: https://packagist.org/packages/taavi/faker-acceptlanguage
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# faker-acceptlanguage
[![Latest Stable Version](https://poser.pugx.org/taavi/faker-acceptlanguage/v)](//packagist.org/packages/taavi/faker-acceptlanguage)
[![Total Downloads](https://poser.pugx.org/taavi/faker-acceptlanguage/downloads)](//packagist.org/packages/taavi/faker-acceptlanguage)
[![License](https://poser.pugx.org/taavi/faker-acceptlanguage/license)](//packagist.org/packages/taavi/faker-acceptlanguage)This package provides a Faker provider that can be used to generate sample `Accept-Language` HTTP headers.
## Installing
### Install the package from composer
```shell
composer require taavi/faker-acceptlanguage
```### Use
```php
use Faker\Factory;
use Taavi\FakerAcceptLanguage\AcceptLanguageFakerProvider;$faker = Factory::create();
$faker->addProvider(new AcceptLanguageFakerProvider($faker));echo $faker->acceptLanguage;
```## License
* MIT