{"id":16467020,"url":"https://github.com/matriphe/manekin","last_synced_at":"2025-04-30T01:30:38.470Z","repository":{"id":62525207,"uuid":"99478428","full_name":"matriphe/manekin","owner":"matriphe","description":"Faker extender specific for Indonesian data.","archived":false,"fork":false,"pushed_at":"2018-08-05T18:46:57.000Z","size":32,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-05T16:59:35.926Z","etag":null,"topics":["dummy","fake","fake-data","faker","hacktoberfest","id","indonesia","test"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matriphe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-06T10:08:27.000Z","updated_at":"2022-10-01T16:11:25.000Z","dependencies_parsed_at":"2022-11-02T14:16:00.811Z","dependency_job_id":null,"html_url":"https://github.com/matriphe/manekin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fmanekin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fmanekin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fmanekin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fmanekin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matriphe","download_url":"https://codeload.github.com/matriphe/manekin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224193131,"owners_count":17271238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dummy","fake","fake-data","faker","hacktoberfest","id","indonesia","test"],"created_at":"2024-10-11T11:45:49.068Z","updated_at":"2024-11-11T23:42:59.365Z","avatar_url":"https://github.com/matriphe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Manekin\n\n[![Build Status](https://travis-ci.org/matriphe/manekin.svg?branch=master)](https://travis-ci.org/matriphe/manekin)\n\nManekin is [Faker](https://github.com/fzaninotto/Faker) extender specific for Indonesian data. It generate fake data specific for Indonesia only.\n\n## Installation\n\nUsing [composer](https://getcomposer.org/), run this command.\n\n```console\ncomposer require matriphe/manekin\n```\n\n### Laravel 5 Integration\n\nOpen `config/app.php` and add this line in `providers` section.\n\n```php\nMatriphe\\Manekin\\ManekinServiceProvider::class,\n```\n\nNow your model factory should load **Manekin**.\n\n#### Laravel 5.5 Package Auto Discovery ####\n\nThis 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`.\n\n### Lumen Integration\n\nOpen `bootstrap/app.php` and add this line in `Register Service Providers` section.\n\n```php\n$app-\u003eregister(Matriphe\\Manekin\\ManekinServiceProvider::class);\n```\n\n## Usage\n\nManekin's methods are same with Faker's methods. It just extending the methods.\n\n## Specific Formatters\n\n#### Matriphe\\Manekin\\Providers\\Address\n\nReturn coordinates in Indonesia territory. \n\n```php\nlatitude($min = -10.1718, $max = 5.88969)     // -6.21462\nlongitude($min = 95.31644, $max = 140.71813)  // 106.84513\nlocalCoordinates()                            // array('latitude' =\u003e -6.21462, 'longitude' =\u003e 106.84513)\n```\n\n#### Matriphe\\Manekin\\Providers\\DateTime\n\nReturn birth date.\n\n```php\nbirthDate($minAge = 13, $maxAge = 100, $timezone = null)    // DateTime('1984-03-22 20:38:00', 'Asia/Jakarta')\n```\n\n#### Matriphe\\Manekin\\Providers\\Device\n\nReturn IMEI, IMSI, ICCID, and Android Device ID.\n\n```php\nimei()                  // 8658507594263070\nimsi()                  // 510079932515821\niccid()                 // 8962097349284530254C\nandroidDeviceId()       // 3A73C5C7FB3629D1\n```\n\n#### Matriphe\\Manekin\\Providers\\Identity\n\nReturn NIK (Nomor Induk Kependudukan), SIM (Surat Izin Mengemudi), and Passport number.\n\n```php\nnik($gender = null)     // 3313402203841234\nsim()                   // 849322123456\npassport()              // A1234567\n```\n\n#### Matriphe\\Manekin\\Providers\\Miscellaneous\n\nReturn random alpha numeric.\n\n```php\nrandomAlphaNumeric($length = null)     // QS9F8JAR25SF\n```\n\n#### Matriphe\\Manekin\\Providers\\PhoneNumber\n\nReturn mobile phone numbers that recognized by Indonesian providers (Telkomsel, Indosat Ooredoo, XL Axiata, Axis, Tri, and Smartfren).\n\n```php\nmobilePhoneNumber()         // 0896 0411 6056\ne164MobilePhoneNumber()     // +6289604116056\n```\n\n#### Matriphe\\Manekin\\Providers\\Vehicle\n\nReturn police number information.\n\n```php\npoliceNumber()         // AD 6742 XY\nspecialPoliceNumber()  // RI 1\n```\n\n## License\n\nManekin is released under the [MIT Licence](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatriphe%2Fmanekin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatriphe%2Fmanekin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatriphe%2Fmanekin/lists"}