dev-master
9999999-dev https://github.com/pistol88/Simple widgets for connecting pacient and doctor
BSD-3-Clause
The Requires
- php >=7.0
- yiisoft/yii2 *
- yiisoft/yii2-bootstrap *
by Ilya Pistol
yii2 form module hospital
Simple widgets for connecting pacient and doctor
It's module provide few widgets for hospital's site. Today there have only one widget with form who connect doctor and pacient., (*1)
Run at project root folder:, (*2)
php composer require pistol88/yii2-hospital "@dev"
php yii migrate/up --migrationPath=vendor/pistol88/yii2-hospital/migrations
And add this to modules section of config:, (*3)
'hospital' => [ 'class' => 'pistol88\hospital\Module', 'adminRoles' => ['superadmin', 'administrator', 'admin'], ],
Now you can use a widget at some view:, (*4)
<?=\pistol88\hospital\widgets\PacientForm::widget(['pjax' => true]); ?>
Admin panel at route: /hospital/pacient/index, (*5)
Simple widgets for connecting pacient and doctor
BSD-3-Clause
yii2 form module hospital