Manekin is Faker extender specific for Indonesian data. It generate fake data specific for Indonesia only.
Using composer, run this command.
composer require matriphe/manekinOpen config/app.php and add this line in providers section.
Matriphe\Manekin\ManekinServiceProvider::class,Now your model factory should load Manekin.
This package supports Laravel 5.5 package auto discovery feature. You don't need to manually add in the config/app.php.
Open bootstrap/app.php and add this line in Register Service Providers section.
$app->register(Matriphe\Manekin\ManekinServiceProvider::class);Manekin's methods are same with Faker's methods. It just extending the methods.
Return coordinates in Indonesia territory.
latitude($min = -10.1718, $max = 5.88969) // -6.21462
longitude($min = 95.31644, $max = 140.71813) // 106.84513
localCoordinates() // array('latitude' => -6.21462, 'longitude' => 106.84513)Return birth date.
birthDate($minAge = 13, $maxAge = 100, $timezone = null) // DateTime('1984-03-22 20:38:00', 'Asia/Jakarta')Return IMEI, IMSI, ICCID, and Android Device ID.
imei() // 8658507594263070
imsi() // 510079932515821
iccid() // 8962097349284530254C
androidDeviceId() // 3A73C5C7FB3629D1Return NIK (Nomor Induk Kependudukan), SIM (Surat Izin Mengemudi), and Passport number.
nik($gender = null) // 3313402203841234
sim() // 849322123456
passport() // A1234567Return random alpha numeric.
randomAlphaNumeric($length = null) // QS9F8JAR25SFReturn mobile phone numbers that recognized by Indonesian providers (Telkomsel, Indosat Ooredoo, XL Axiata, Axis, Tri, and Smartfren).
mobilePhoneNumber() // 0896 0411 6056
e164MobilePhoneNumber() // +6289604116056Return police number information.
policeNumber() // AD 6742 XY
specialPoliceNumber() // RI 1Manekin is released under the MIT Licence.