pistol88 / yii2-hospital
Simple widgets for connecting pacient and doctor
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.0
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap: *
This package is auto-updated.
Last update: 2024-10-27 22:11:29 UTC
README
It's module provide few widgets for hospital's site. Today there have only one widget with form who connect doctor and pacient.
Installation
Run at project root folder:
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:
'hospital' => [
'class' => 'pistol88\hospital\Module',
'adminRoles' => ['superadmin', 'administrator', 'admin'],
],
Now you can use a widget at some view:
<?=\pistol88\hospital\widgets\PacientForm::widget(['pjax' => true]); ?>
Admin panel at route: /hospital/pacient/index