Prison Management System in PHP/OOP Free Source Code

Language

Introduction

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.

Features

  • 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 ??

Requirements

  • 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

DEMO VIDEO

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 :)

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted byNeed some help here (not verified)on Mon, 06/06/2022 - 15:12

Can not login, loader keeps spinning. Username: admin Password: admin123
Submitted byOjangole Nicholas (not verified)on Thu, 06/16/2022 - 20:20

Great work sir I want to know which code show that, floating part showing designed by Oretnom 23
Submitted bydev_ideal (not verified)on Fri, 04/14/2023 - 15:45

In reply to by broadman (not verified)

Yes, you can disable that floating "developed by oretnom23. goto classes folder->systemsettings.php then goto the line 235 under function load_data() then comment //return $dom->saveXML(); BUT I recommend the developer giving credit for his hard work
Submitted bybroadman (not verified)on Mon, 11/21/2022 - 04:47

How did you make the floating sign that said develop oretnom23 i cant determine how did you do it?
Submitted byhann (not verified)on Wed, 03/15/2023 - 18:31

Cannot add or update a child row: a foreign key constraint fails (`pms_db`.`visit_list`, CONSTRAINT `inmate_id_fk_vl` FOREIGN KEY (`inmate_id`) REFERENCES `inmate_list` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION)[INSERT INTO `visit_list` set `inmate_id`='' , `fullname`='' , `contact`='' , `relation`='' ]
Submitted byEkane (not verified)on Fri, 04/21/2023 - 18:12

the system can not add new visitors.. You can not select inamte id on the visitors form
Submitted byUmar Muhammed (not verified)on Wed, 07/12/2023 - 00:57

I have problem with the program The Imate Program Managemen System. If i access the program it just redirect to another page and show blank page.
Submitted byKadar abuukar kaasim (not verified)on Wed, 12/27/2023 - 20:43

Prison management system
Submitted byPMS_developer (not verified)on Thu, 01/18/2024 - 01:16

please help me, system is unable to add new visitor
Submitted byshyam babanrao (not verified)on Tue, 02/20/2024 - 21:03

how can I remove the copyright all things reserved part

Add new comment