tvkvds / faker-healthcare-personnel
伪造医疗团队相关数据
v1.0.0
2023-04-20 14:44 UTC
Requires
- fakerphp/faker: ^1.19
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-09-27 14:56:26 UTC
README
为医疗领域的团队、位置、职能、专业等伪造数据的自定义 FakerPHP 提供者。
安装
将库添加到您的 composer.json 文件中
composer require tvkvds/faker-healthcare-personnel
用法
要使用此包与 Faker 一起,您必须将类添加到 Faker 生成器中
$faker = \Faker\Factory::create(); $faker->addProvider(new \HealthCareTeams\Provider\en_US\HealthCareTeams($faker));
可用的生成器
$faker->contractType(); $faker->function(); $faker->functionGroup(); $faker->location(); $faker->specialisation(); $faker->specialisationGroup(); $faker->team(); // optional: pass location name to prepend
可用的语言格式化程序/区域设置
- en_US
- nl_NL