“Smart HR Management System Documentation” by “Mina Samy” v2.0


Smart HR Management System

Created: 25/10/2024
By: Mina Samy
Email: minasamy792@gmail.com


Table of Contents

  1. Overview
  2. Key Features
  3. Technologies Used
  4. CSS Files
  5. JavaScript Files
  6. Blade
  7. Controller Files
  8. Model Files
  9. Sources and Packages
  10. Installation Guide
  11. User Guide

A) Overview - top

The Smart HR Management System is a comprehensive, user-friendly solution for streamlining HR processes across multiple organizations. It provides a modern and intuitive interface. The system is suitable for organizations of all sizes, offering tools for attendance tracking, employee management, overtime tracking, deductions, vacations, and payroll generation, and now supporting multi-company functionality, allowing each company to manage its own data independently within a single system. Each company can also configure its own internal policies such as late arrival deduction, half-day rules, working hours, working days, official holidays, and bonus hours, through a dedicated company policy page.


B) Key Features - top

1) Admin Dashboard

2) HR Interface

3) Employee Interface


C) Technologies Used - top


D) CSS Files Top

The system utilizes multiple CSS files to maintain structure and ensure a consistent style:

Path: public/dist/css


E) JavaScript Files - top

Path: public/dist/js


F) Blade - top

Path: resources/views

Admin interface Path: resources/views/admins

HR Interface Path: resources/views/backend

Employee Interface Path: resources/views/EmployeeInterface


G) Controller Files - top

Path: app/Http/Controllers – Contains all controller of both the Admin and HR dashboards.

Path: app/Http/Controllers/EmployeesInterface – Contains all controller of the Employee dashboards.


H) Model Files - top

models used for the search functionality and the retrieving of data based on company_id and paginate of the pages

Path: app/Models


I) Sources and Packages - top


J) Installation Guide for (localhost) - top

Note:For installing the system on (localhost).

    Follow these clear, step-by-step installation instructions to set up your HR system on localhost:

    1. Download the Source Code: Download the Source Code: Download the ZIP file containing the HR system source code, MySQL database file, documentation, and default admin credentials.

    2. Set Up Environment:
      1. Install XAMPP or MAMP: Install a local server environment to run the application on localhost. After installation, start the Apache and MySQL services.
      2. Import the Database: After extracting the project files, you will find two folders: Source Code and Database. Open the Database folder and locate the provided .sql file. Then open your preferred database management tool (e.g., phpMyAdmin), create a new database, and import the SQL file into it.

    3. Install Dependencies:

      Open the project folder in your terminal and run the following command to install all required dependencies:

      composer install
    4. Serve the Application:

      Start the Laravel development server by writing the command in the project terminal:

      php artisan serve
    5. Access the Application to start register:

      Open your web browser and navigate to your localhost:

      like: http://127.0.0.1:8000

    K) User Guide - top

      Step 1: Login to Admin Dashboard

      First, you must log in to the Admin Dashboard. The admin is responsible for creating the first company in the system. The default login credentials (email and password) are provided in a TXT file included with the downloaded package.

      Step 2: Add a New Company

      From the Admin Dashboard, create your first company. After creating the company, you can assign HR users to it.

      Step 3: Login to the Company (HR dashboard)

      Use the HR account credentials (email and password) that were created when adding the company to log in to the HR Dashboard.


      After Login :

      1. Add the Company Managers
      2. Add the Departments
      3. Add the Job Positions
      4. Add Employees and HR Users

      Once employees are added, they can log in to the Employee Dashboard.

      5. Configure Your Company Policy in Attendance Settings Before Calculating Payroll

      Now, You’re Ready!

      Now you can start to manage attendance, estimate payroll, track deductions, perform other HR operations efficiently ,and access employee dashboard.