PHP code example of izi-dev / faker-provider-colombia
1. Go to this page and download the library: Download izi-dev/faker-provider-colombia library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
izi-dev / faker-provider-colombia example snippets
// Generates Número Único de Identificación Personal (NUIP) number
echo $faker->nuip; // '1234567890'
// Generates a state (department) name
echo $faker->state; // 'Antioquia'
// Generates a community (municipality) name
echo $faker->community; // 'Puerto Alegría'
// Generates a state (department) name
echo $faker->phoneNumberFormat("+57 ({{mobileOperatorCode}})###-####"); // '57 (305)300-4444'