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.
You can install the package via composer:
composer require astersnake/faker-chile --dev$faker = Faker\Factory::create('es_CL');
for ($i = 0; $i < 3; $i++) {
echo $faker->rut() . "\n";
}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',composer testPlease see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.