A comprehensive web application for managing hospital operations, appointments, and patient records built with Laravel.
- 👩💼 Admin: System management, user control, and analytics
- 👨⚕️ Staff: Patient registration, appointment handling, and medical records
- 🧑🤝🧑 Patient: Book appointments, track queue, and access medical history
- Comprehensive dashboard with real-time metrics
- User management (create, update, delete)
- Department/Poliklinik management
- Doctor scheduling
- System performance monitoring
- Reporting and analytics
- Patient registration and management
- Appointment processing
- Queue management
- Medical record access
- Daily patient reports
- Appointment booking
- Queue tracking
- Medical history access
- Prescription history
- Profile management
- Service rating system
- PHP >= 8.0
- MySQL
- Composer
- Node.js & NPM
- Clone the repository
git clone https://github.com/yourusername/hospital-management-system.git
cd hospital-management-system
- Install PHP dependencies
composer install
- Install JavaScript dependencies
npm install && npm run dev
- Configure environment
cp .env.example .env
- Update database settings in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=hospital_management
DB_USERNAME=root
DB_PASSWORD=
- Generate application key
php artisan key:generate
- Run migrations and seeders
php artisan migrate --seed
- Start development server
php artisan serve
Role | Password | |
---|---|---|
Admin | admin@example.com | password |
Staff | staff@example.com | password |
Patient | patient@example.com | password |
app/
├── Http/
│ ├── Controllers/ # Route controllers
│ ├── Middleware/ # Request middleware
│ └── Requests/ # Form requests
├── Models/ # Database models
├── Providers/ # Service providers
├── Services/ # Business logic
└── Resources/
├── views/ # Blade templates
├── js/ # JavaScript
└── css/ # Stylesheets
- Patients register and book appointments
- Staff process appointments and manage queue
- Doctors see patients and update medical records
- Admin oversees the entire system and generates reports
Detailed documentation is available in the docs/
directory:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Laravel Community
- Bootstrap Team
- All contributors who have helped improve this system
If you have any questions or suggestions, please open a new issue in this repository.