2017 © Pedro Peláez
 

library manekin

Faker extender specific for Indonesian data.

image

matriphe/manekin

Faker extender specific for Indonesian data.

  • Saturday, July 21, 2018
  • by matriphe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 20 % Grown

The README.md

Manekin

Build Status, (*1)

Manekin is Faker extender specific for Indonesian data. It generate fake data specific for Indonesia only., (*2)

Installation

Using composer, run this command., (*3)

composer require matriphe/manekin

Laravel 5 Integration

Open config/app.php and add this line in providers section., (*4)

Matriphe\Manekin\ManekinServiceProvider::class,

Now your model factory should load Manekin., (*5)

Laravel 5.5 Package Auto Discovery

This package supports Laravel 5.5 package auto discovery feature. You don't need to manually add in the config/app.php., (*6)

Lumen Integration

Open bootstrap/app.php and add this line in Register Service Providers section., (*7)

$app->register(Matriphe\Manekin\ManekinServiceProvider::class);

Usage

Manekin's methods are same with Faker's methods. It just extending the methods., (*8)

Specific Formatters

Matriphe\Manekin\Providers\Address

Return coordinates in Indonesia territory., (*9)

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)

Matriphe\Manekin\Providers\DateTime

Return birth date., (*10)

birthDate($minAge = 13, $maxAge = 100, $timezone = null)    // DateTime('1984-03-22 20:38:00', 'Asia/Jakarta')

Matriphe\Manekin\Providers\Device

Return IMEI, IMSI, ICCID, and Android Device ID., (*11)

imei()                  // 8658507594263070
imsi()                  // 510079932515821
iccid()                 // 8962097349284530254C
androidDeviceId()       // 3A73C5C7FB3629D1

Matriphe\Manekin\Providers\Identity

Return NIK (Nomor Induk Kependudukan), SIM (Surat Izin Mengemudi), and Passport number., (*12)

nik($gender = null)     // 3313402203841234
sim()                   // 849322123456
passport()              // A1234567

Matriphe\Manekin\Providers\Miscellaneous

Return random alpha numeric., (*13)

randomAlphaNumeric($length = null)     // QS9F8JAR25SF

Matriphe\Manekin\Providers\PhoneNumber

Return mobile phone numbers that recognized by Indonesian providers (Telkomsel, Indosat Ooredoo, XL Axiata, Axis, Tri, and Smartfren)., (*14)

mobilePhoneNumber()         // 0896 0411 6056
e164MobilePhoneNumber()     // +6289604116056

Matriphe\Manekin\Providers\Vehicle

Return police number information., (*15)

policeNumber()         // AD 6742 XY
specialPoliceNumber()  // RI 1

License

Manekin is released under the MIT Licence., (*16)

The Versions

21/07 2018

dev-master

9999999-dev

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data manequin manekin

21/07 2018

1.0.5

1.0.5.0

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data manequin manekin

12/01 2018

1.0.4

1.0.4.0

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data manequin manekin

04/09 2017

1.0.3

1.0.3.0

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data manequin manekin

16/08 2017

1.0.2

1.0.2.0

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data

06/08 2017

1.0.1

1.0.1.0

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data

06/08 2017

1.0.0

1.0.0.0

Faker extender specific for Indonesian data.

  Sources   Download

MIT

The Requires

 

The Development Requires

test faker id dummy fake indonesia fake-data