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.
7,020
5
| Install | |
|---|---|
composer require astersnake/faker-chile |
|
| Latest Version: | 1.0.4 |
| PHP: | ^8.1|^8.2|^8.3 |
| License: | MIT |
| Last Updated: | Jun 30, 2024 |
| Links: | GitHub · Packagist |
Maintainer: astersnake
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.
Related Packages
skovachev/fakefactory
A model factory package for Laravel 4 with expressive API for creating custom ta...
1,121
29