PHP code example of taavi / faker-acceptlanguage
1. Go to this page and download the library: Download taavi/faker-acceptlanguage library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
taavi / faker-acceptlanguage example snippets
use Faker\Factory;
use Taavi\FakerAcceptLanguage\AcceptLanguageFakerProvider;
$faker = Factory::create();
$faker->addProvider(new AcceptLanguageFakerProvider($faker));
echo $faker->acceptLanguage;