Skip to content

astersnake/faker-chile

Repository files navigation

Chile Localized Providers for Faker

The provider includes a wide variety of data sets for fzaninotto/Faker, including Chilean regions, provinces, and municipalities, as well as popular Chilean names, addresses, and phone numbers.

Installation

You can install the package via composer:

composer require astersnake/faker-chile --dev

Basic usage

$faker = Faker\Factory::create('es_CL');
for ($i = 0; $i < 3; $i++) {
    echo $faker->rut() . "\n";
}

Add locale to configuration file

If you want to use the locale in your Laravel project, you can add it to the app configuration file.

// config/app.php
'faker_locale' => 'es_CL',

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages