astersnake/faker-chile

With this package, you can easily generate Chilean names, addresses, phone numbers, and more. The provider includes a wide variety of data sets, including Chilean regions, provinces, and municipalities, as well as popular Chilean names, addresses, and phone numbers.

1.0.3 2023-03-20 01:33 UTC

README

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.