tvkvds/faker-healthcare-personnel

Faking healthcare teams related data

v1.0.0 2023-04-20 14:44 UTC

This package is auto-updated.

Last update: 2024-05-27 14:17:09 UTC


README

Custom FakerPHP provider for faking teams, locations, functions, specialisations etc. in healthcare.

Installation

Add the library to your composer.json file

composer require tvkvds/faker-healthcare-personnel

Usage

To use this with Faker, you must add the class to the Faker generator:

$faker = \Faker\Factory::create();
$faker->addProvider(new \HealthCareTeams\Provider\en_US\HealthCareTeams($faker));

Available Generators

$faker->contractType(); 
$faker->function(); 
$faker->functionGroup(); 
$faker->location(); 
$faker->specialisation(); 
$faker->specialisationGroup(); 
$faker->team(); // optional: pass location name to prepend

Available language formatters / locales

  • en_US
  • nl_NL