This is a Laravel Filament-based Hospital Management System designed to handle patient records, diagnoses,Pharmacy record and purchases, Accounting, Laboratory and user role management using Spatie Permissions and Filament Shield.
git clone git@github.com:obengkofijames/hospital-system.git
cd hospital-system
composer install
Copy the example environment file and configure your database credentials:
cp .env.example .env
Update the .env
file:
DB_DATABASE=hospital_db
DB_USERNAME=root
DB_PASSWORD=your_password
php artisan key:generate
php artisan migrate --seed
After running the seeders, you can log in with:
- Email: obengkofijames@gmail.com
- Password: obengkofijames@gmail.com
php artisan serve
├── app
│ ├── Filament
│ │ ├── Resources
│ │ │ ├── PatientResource.php
│ │ │ ├── DiagnosisResource.php
│ │ │ ├── UserResource.php
│ │ ├── Pages
│ │ ├── Widgets
│ ├── Http
│ │ ├── Controllers
│ │ ├── Middleware
│ ├── Models
│ │ ├── Patient.php
│ │ ├── Diagnosis.php
│ │ ├── User.php
│ ├── Policies
│ ├── Providers
│
├── config
│ ├── filament.php
│ ├── shield.php
│ ├── permission.php
│
├── database
│ ├── factories
│ │ ├── PatientFactory.php
│ │ ├── DiagnosisFactory.php
│ ├── seeders
│ │ ├── DatabaseSeeder.php
│ │ ├── RoleSeeder.php
│ │ ├── PermissionSeeder.php
│
├── resources
│ ├── views
│ ├── lang
│
├── routes
│ ├── web.php
│ ├── api.php
│
├── tests
│ ├── Feature
│ ├── Unit
│
├── .env.example
├── composer.json
├── artisan
└── README.md
This project is open-source and free to use. Feel free to contribute!