Swedish specific extensions for Faker
composer require fakerphp/swedish
Full documentation can be found over on fakerphp.github.io.
Use Faker\Swedish\Factory::sweden()
to create and initialize a faker generator with Swedish extensions.
require_once 'vendor/autoload.php';
// use the factory to create a Faker\Generator instance
$faker = Faker\Swedish\Factory::sweden();
echo $faker->name();
// 'Åke Svensson';
Faker is released under the MIT License. See LICENSE
for details.