PHPackages                             matriphe/manekin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. matriphe/manekin

ActiveLibrary[Testing &amp; Quality](/categories/testing)

matriphe/manekin
================

Faker extender specific for Indonesian data.

1.0.5(7y ago)33803MITPHPPHP ^5.4 || ^7.0

Since Aug 6Pushed 7y agoCompare

[ Source](https://github.com/matriphe/manekin)[ Packagist](https://packagist.org/packages/matriphe/manekin)[ RSS](/packages/matriphe-manekin/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (7)Used By (0)

Manekin
=======

[](#manekin)

[![Build Status](https://camo.githubusercontent.com/6288bf9c077040fdb477f060c6593cb440a822ea968f0ab1ea7e5ed637ea76a0/68747470733a2f2f7472617669732d63692e6f72672f6d617472697068652f6d616e656b696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matriphe/manekin)

Manekin is [Faker](https://github.com/fzaninotto/Faker) extender specific for Indonesian data. It generate fake data specific for Indonesia only.

Installation
------------

[](#installation)

Using [composer](https://getcomposer.org/), run this command.

```
composer require matriphe/manekin
```

### Laravel 5 Integration

[](#laravel-5-integration)

Open `config/app.php` and add this line in `providers` section.

```
Matriphe\Manekin\ManekinServiceProvider::class,
```

Now your model factory should load **Manekin**.

#### Laravel 5.5 Package Auto Discovery

[](#laravel-55-package-auto-discovery)

This package supports [Laravel 5.5 package auto discovery](https://laravel.com/docs/5.5/packages#package-discovery) feature. You don't need to manually add in the `config/app.php`.

### Lumen Integration

[](#lumen-integration)

Open `bootstrap/app.php` and add this line in `Register Service Providers` section.

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

Usage
-----

[](#usage)

Manekin's methods are same with Faker's methods. It just extending the methods.

Specific Formatters
-------------------

[](#specific-formatters)

#### Matriphe\\Manekin\\Providers\\Address

[](#matriphemanekinprovidersaddress)

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)
```

#### Matriphe\\Manekin\\Providers\\DateTime

[](#matriphemanekinprovidersdatetime)

Return birth date.

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

#### Matriphe\\Manekin\\Providers\\Device

[](#matriphemanekinprovidersdevice)

Return IMEI, IMSI, ICCID, and Android Device ID.

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

#### Matriphe\\Manekin\\Providers\\Identity

[](#matriphemanekinprovidersidentity)

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

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

#### Matriphe\\Manekin\\Providers\\Miscellaneous

[](#matriphemanekinprovidersmiscellaneous)

Return random alpha numeric.

```
randomAlphaNumeric($length = null)     // QS9F8JAR25SF
```

#### Matriphe\\Manekin\\Providers\\PhoneNumber

[](#matriphemanekinprovidersphonenumber)

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

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

#### Matriphe\\Manekin\\Providers\\Vehicle

[](#matriphemanekinprovidersvehicle)

Return police number information.

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

License
-------

[](#license)

Manekin is released under the [MIT Licence](LICENSE.md).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Recently: every ~87 days

Total

6

Last Release

2853d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/809de97d088b0eff358f96141a31bd8897216a03175448192de140f2723bdea6?d=identicon)[matriphe](/maintainers/matriphe)

---

Top Contributors

[![matriphe](https://avatars.githubusercontent.com/u/277262?v=4)](https://github.com/matriphe "matriphe (26 commits)")

---

Tags

dummyfakefake-datafakerhacktoberfestidindonesiatesttestfakerfakeDummyidindonesiaFake datamanequinmanekin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matriphe-manekin/health.svg)

```
[![Health](https://phpackages.com/badges/matriphe-manekin/health.svg)](https://phpackages.com/packages/matriphe-manekin)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78311.9M97](/packages/zenstruck-foundry)[fakerino/fakerino

Faker framework, for generate every kind of fake data for test, database seed, mock responses, other

12214.8k5](/packages/fakerino-fakerino)[icecave/isolator

Dependency injection for global functions.

371.3M29](/packages/icecave-isolator)[refinery29/test-util

Provides a test helper, generic data providers, and assertions.

1554.0k3](/packages/refinery29-test-util)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
