emayk / faker by emayk

Extend Localization Indonesian base Faker
33
0
1
Package Data
Maintainer Username: emayk
Maintainer Contact: emay_k@yahoo.com (Emay Komarudin)
Package Create Date: 2014-01-06
Package Last Update: 2014-01-07
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 03:01:06
Package Statistics
Total Downloads: 33
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

README

###Apa ini ? Generate Data Faker ini berbasis pada fzaninotto/faker: 1.4.*@dev

###Instalasi

  • Tambahkan pada composer.json anda "emayk/faker": "dev-master"
  • composer install atau compose update
Penggunaan
$faker = new \Emayk\Faker\Factory();
$bank_account = array();

for ($i=0; $i <= 15; $i++) {
		$account_name = $faker->unique()->bankaccountname;
		$account = array('name' => $account_name,
			 'info' => "Info {$account_name}"
		);
		$bank_account[] = array_merge($account,$faker->fillattributes);
 }

Extend fzaninotto/faker

$bankaccountname // echo

untuk $bankaccountname maximal 15

Lainnya :