Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ronald-kimeli/leave-management-php
This is a leave management system specifically on PHP and MySQL database with admin panel
https://github.com/ronald-kimeli/leave-management-php
leave-app leave-management leave-management-php leave-management-system
Last synced: about 2 months ago
JSON representation
This is a leave management system specifically on PHP and MySQL database with admin panel
- Host: GitHub
- URL: https://github.com/ronald-kimeli/leave-management-php
- Owner: ronald-kimeli
- Created: 2022-08-01T19:32:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T18:35:07.000Z (2 months ago)
- Last Synced: 2024-10-30T19:30:13.861Z (2 months ago)
- Topics: leave-app, leave-management, leave-management-php, leave-management-system
- Language: CSS
- Homepage: https://leave-management-system.great-site.net/
- Size: 18.3 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leave Management System
A Full-Stack web application built on top of PHP(OOP), MySQL(PDO), jQuery and Bootstrap css. It consists of Home page, Admin Panel and Employee panel for management. It runs on MVC structure.## set up
* Clone this repository then make a copy of database_sample.php to database.php located on src/database_sample.php using command below then fill in your database credentials.
```bash
cp src/database_sample.php src/database.php
```Fill your db connection credentials
```bash
'servername' => DB username,
'database' => Database name,
'username' => DB username,
'password' => DB password,
```! For SMTP for registering account and resetting password
```bash
cp src/smtp_sample.php src/smtp.php
```Fill your SMTP credentials
```bash
'host' => 'smtp.gma...',
'from' => 'smtpmail',
'username' => 'smtpmail',
'password' => 'smtp_password',
```* Install necessary dependencies and dump the classess for auto load.
```bash
composer install && composer dump-autoload
```* Let's jumpstart db by migration and seed all together to create our tables and add dummy data.
! Start with creating blueprints of our db - it will create necessary tables and structure for this leave manager just keep inputing y on your terminal or just click enter anytime asked.
```bash
php migration.php
```! Its time to seed or add dummy data to use straight away we start our application. keep clicking enter whenever asked.
```bash
php seed.php
```* Now Start the server at your favorite port using built in php cli - On your browser at the url `http://localhost:8088/`
```bash
php -S localhost:8088
```## usage
- We have landing page, admin panel and Employee panel
- To login as admin use email and password below```bash
[email protected] - password123
```
- To login as employee use email and password below```bash
[email protected] - password123
```## Features
- Structured Home page for informative information including frequently asked question, about, contact, register, login and reset password.
- Admin can manage the whole organization resources by
* Adding Users, Departments, Leave Types etc
* Updates Applied leaves(Approves,Dissaproves)
* Managing User accounts
- Employee on the other side does the following
* Applies the leave
* Checks the status of the application
* Checks the department he/she belongs to, all leavetypes and their description
* Managing their accounts### Database Design
### Home Page
### Login
### Admin Applied Leaves
### Employee Applied Leaves
### Mobile Responsive