Prison Management System in PHP/OOP Free Source Code

This project is entitled Prison Management System. This is a web-based application project developed in PHP and MySQL Database. The main purpose of this project is to provide an online and automated platform for the Prison to manage the inmates' records and daily visitors.

Prison Management System in PHP/OOP Free Source Code
Prison Management System in PHP/OOP Free Source Code


This project is entitled Prison Management System. This is a web-based application project developed in PHP and MySQL Database. The main purpose of this project is to provide an online and automated platform for the Prison to manage the inmates' records and daily visitors. This project has a pleasant user interface with the help of Bootstrap Framework and AdminLTE Template. It also consists of user-friendly features and functionalities.

About the Prison 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 Prison Management System is only accessible to the Prison's Management. The system has 2 types of user roles which are the Administrator and Staff. The application requires the management to log in with their valid credentials to gain access to the features and functionalities. This project sores and manages the convicted persons' records. It stores the convict's personal information, case information, and records inside the prison. This application stores the visitor details when visiting the inmates. Management can update the inmate visitor privilege. The Prison Management System also generates printable Monthly Reports of Records History and Visitor Records.


  • Home Page
    • Display the summary.
  • Prison Management
    • Add New Prison
    • List All Prisons
    • Edit/Update Prison Details
    • View Prison Details
    • Delete Prison
  • Cell Block Management
    • Add New Cell Block
    • List All Cell Blocks
    • Edit/Update Cell Block Details
    • View Cell Block Details
    • Delete Cell Block
  • Action Management
    • Add New Action
    • List All Actions
    • Edit/Update Action Details
    • View Action Details
    • Delete Action
  • Crime Management
    • Add New Crime
    • List All Crimes
    • Edit/Update Crime Details
    • View Crime Details
    • Delete Crime
  • Inmate Management
    • Add New Inmate
    • List All Inmate
    • View Inmate Details
    • Edit Inmate Details
    • Update Inmate Visitor Privilege
    • Print Inmate Details
    • Add Record
    • List All Records
    • Delete Record
  • Visitor Management
    • Add New Visitor Details
    • List All Visitor Details
    • Edit Visitor Details
    • View Visitor Details
    • Delete Visitor Details
  • Generate Printable Reports
    • Monthly Inmate Record
    • Monthly Visitor Records
  • User Management
    • Add New User
    • List All Users
    • 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

Dashboard Page

Prison Management System

Inmate Details

Prison Management System

Inmate Details - Print View

Prison Management System

Monthly Inmate Records Report

Prison Management System

Monthly Visitor Records Report

Prison 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 pms_db.
  7. Import the provided SQL file. The file is known as pms_db.sql located inside the database folder.
  8. Browse the Prison Management System in a browser. i.e. http://localhost/pms/.

Admin Default Access:

Username: admin
Password: admin123

That's it. You can now explore the features and functionalities of this Prison 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 :)


Click animation gif button download click hand

Like us on Facebook

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.

For more information about the system. You can contact me @

Email –
WhatsApp No. +254714643906

Or feel free to comment below.

Follow this Link to learn more about our Services including Installation Support:



This site content is shared for educational purposes only under Fair Use.

Fair Use:

Copyright Disclaimer Under Section 107 of the Copyright Act in 1976; Allowance is made for "Fair Use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.

All rights and credit go directly to its rightful owners. No copyright infringement intended.

PS: Kindly DON'T use any source codes for commercial purpose without the permission of the original author otherwise you will take all resposibility for any copyright infringement that may be cause by you.


Fair use is a doctrine in United States law that permits limited use of copyrighted material without having to first acquire permission from the copyright holder. Fair use is one of the limitations to copyright intended to balance the interests of copyright holders with the public interest in the wider distribution and use of creative works by allowing as a defense to copyright infringement claims certain limited uses that might otherwise be considered infringement.[1] Unlike "fair dealing" rights that exist in most countries with a British legal history, the fair use right is a general exception that applies to all different kinds of uses with all types of works and turns on a flexible proportionality test that examines the purpose of the use, the amount used, and the impact on the market of the original work.