School Dormitory Management System in PHP/OOP Free Source Code



This project is entitled School Dormitory Management System. This is a web-based application project developed in PHP and MySQL Database. This project provides an online and automated platform for Universities or Colleges' Dormitory to manage their monthly collections and records. The system consist consists of multiple features that include the student dorm accounts. The application was developed with Bootstrap Framework and AdminLTE Template. It consists of user-friendly features and functionalities.

About the School Dormitory Management System

I developed this project using the following:

  • XAMPP v3.3.0
  • PHP
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • Ajax
  • jQuery
  • Bootstrap
  • Font Awesome
  • AdminLTE

This School Dormitory Management System can be only accessed by the management. The system features and functionalities can be accessed only by the registered system users. The system users have 2 types of roles which are the Administrator and Staff. Both Users must log in with their system credentials to gain access to the features and functionalities of the application. The Administrator Users have the privilege to access and manage all the features and functionalities of the system while Staff Users have only limited permissions.

This Dormitory Management System allows the management to manage the list of dormitory buildings, rooms in each dorm, and student accounts. The management must populate first the list of dorms, rooms, and students when using the system for the first time. Users create an account for a student and assign them to a room with an available slot. The student that has an active account will be automatically removed from the student options when creating an account. Also, the room option in the account registry only lists the rooms that have available slots.

The system was developed with user-friendly features and functionalities with CRUD (Create, Read, Update, and Delete) Operations. It can help the school management to efficiently and effectively manage the dorms' collections and account records.


  • Home Page
    • Display the summary.
  • Dorm Management
    • Add New Dorm
    • List All Courts
    • View Dorm Details
    • Update Dorm Details
    • Delete Dorm
  • Room Management
    • Add New Room
    • List All Rooms
    • View Room Details
    • Update Room Details
    • Delete Room
  • Student Management
    • Add New Student
    • List All Students
    • View Student Details
    • Update Student Details
    • Delete Student
  • Account Management
    • Add New Account
    • List All Accounts
    • View Account Details
    • Update Account Details
    • Add Payment
    • List Payment History
    • Edit Payment Details
    • Delete Payment Details
    • Delete Account
  • Report
    • Generate Printable Monthly Collection Report
  • User Management
    • Add New User
    • List All Users
    • View User Details
    • Edit User Details
    • Delete User Details
  • Update System Information
  • Update Account Details/Credentials
  • Login and Logout

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features


School Dormitory Management System

Dorm List

School Dormitory Management System

Room List

School Dormitory Management System

Student Details Page

School Dormitory Management System

Account Details Page

School Dormitory Management System

Payment History Modal

School Dormitory Management System

Monthly Collection Report

School Dormitory Management System

How to Run ??


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Enable the GD Library in your php.ini file.
  2. Open your XAMPP Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database naming dms_db.
  7. Import the provided SQL file. The file is known as dms_db.sql located inside the database folder.
  8. Browse the School Dormitory Management System in a browser. i.e. http://localhost/dms/.

Admin Default Access:

Username: admin
Password: admin123


That's it. You can now explore the features and functionalities of this School Dormitory Management System in PHP. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byIddrisu mohammed (not verified)on Sun, 09/25/2022 - 23:56

Please do you have the reports (document) of the project?
Submitted byIddrisu mohammed (not verified)on Mon, 09/26/2022 - 20:35

There is no input to assign student to any dormitory in the student list
Submitted byGary Brock (not verified)on Thu, 12/15/2022 - 06:34

Please I want the documentation of the school dormitory management system?

Add new comment