emayk / faker
There is no license information available for the latest version (dev-master) of this package.
Extend Localization Indonesian base Faker
dev-master
2014-01-07 09:09 UTC
Requires
- php: >=5.3.0
- fzaninotto/faker: 1.4.*@dev
- illuminate/support: 4.1.x
This package is not auto-updated.
Last update: 2024-11-19 03:01:09 UTC
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
ataucompose 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