emayk/faker
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 installataucompose 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 :
Related Packages
jlopezcur/metable
Access model meta data as if it was a property on your model (Fork based on the...
21
0