Cyber Cafe Management System in PHP 8 & MySQL 8 | Full Project with Bootstrap & JS
Complete Source Code + Project Report
CCMS using PHP 8 MySQL 8 Bootstrap
Video Demonstration
✔ Key Features
- Secure Admin Authentication System — The system features a robust login mechanism using PHP sessions with bcrypt password hashing (
$2y$10$...), protecting the admin panel from unauthorized access with proper session validation on every protected page. - Interactive Admin Dashboard — A real-time dashboard built with Bootstrap 5 displays live KPI cards showing Total Computers, Total Users, and Today's Entries — all fetched dynamically from the MySQL 8 database using PDO prepared statements.
- Computer Inventory Management — Admins can add, update, and monitor all computers in the cafe. Each computer has a name, IP address, and Active/Inactive status, giving full control over the physical infrastructure of the cafe.
- User Session & Entry Tracking — Every customer visit is recorded with a unique Entry ID, name, address, mobile number, assigned computer, and check-in time — enabling complete traceability of who used which machine and when.
- Check-in / Check-out with Automatic Duration Calculation — The system records both entry (
in_time) and exit (out_time) timestamps and automatically calculates the total usage duration in minutes for accurate billing purposes. - Billing & Printable Receipt Generation — A dedicated
receipt.phpmodule generates a professional, print-optimized receipt showing the customer's name, computer used, check-in/out time, session duration, and total charge — with an auto print-trigger on page load. - Date-Range Report Generation — The reporting module allows the admin to filter and view all user entries between any two dates using a secure PDO parameterized query, helping track business activity and earnings over any period.
- Search Functionality — A dedicated
search.phpmodule allows the admin to quickly look up specific user records or session entries, improving operational efficiency in high-traffic environments. - Fully Offline Asset Architecture — All front-end dependencies including Bootstrap 5 CSS, Bootstrap JS Bundle, and jQuery are hosted locally under the
/assets/folder — ensuring the application runs completely without internet connectivity on a WAMP server environment.
⚙ Installation Guide
- Download & Extract the Project — Download the project ZIP file and extract it. You will get a folder named
Cyber Cafe Management Systemwhich contains all the PHP files, assets, and the SQL database file. - Install WAMP Server — Download and install WAMP Server (recommended) or XAMPP on your Windows machine. Ensure that PHP 8 and MySQL 8 are selected during setup, as the project is specifically built and tested on these versions.
- Place Project in Web Root Directory — Copy the entire
Cyber Cafe Management Systemfolder into your WAMP web root directory:C:\wamp64\www\or for XAMPP users:C:\xampp\htdocs\. This makes it accessible via the local web server. - Start WAMP Services — Launch WAMP Server and ensure both the Apache and MySQL services are running. The WAMP icon in the system tray should turn green, confirming all services are active before proceeding.
- Open phpMyAdmin — Open your browser and navigate to
http://localhost/phpmyadmin. Log in using your MySQL credentials (default username isrootwith a blank password on WAMP). - Create the Database — Inside phpMyAdmin, click New and create a fresh database named exactly
ccms_db. The database name is case-sensitive and must match this name as it is hardcoded in the connection configuration file. - Import the SQL File — Select the
ccms_dbdatabase, go to the Import tab, click Choose File, and select theccms_db.sqlfile from the project root folder. Click Go to import — this will create all three tables:admin,computers, anduserswith sample data. - Configure Database Connection — Open the file
includes/db_connect.phpin a text editor. Verify or update the database credentials — hostname (localhost), database name (ccms_db), username (root), and password — to match your local WAMP/XAMPP MySQL settings. - Run the Application in Browser — Open your browser and navigate to:
http://localhost/Cyber%20Cafe%20Management%20System/— this will load the login page (index.php). Use the default admin credentials: Username:admin| Password:admin123to log in. - Change Default Password After Login — Immediately after your first successful login, navigate to Admin Profile → Change Password and update the default password. Alternatively, the Forgot Password feature on the login page can also be used to reset credentials securely via the token-based reset flow.
What You Get in the Package:
Upon purchase, you will receive a ZIP file containing:
- Full Source Code
- Professionally Formatted Project Report (around 18 Pages)
- Viva Preparation Cheat Sheet (around 22 Pages massive 60+ QA)
- Well Formated Powerpoint Presentation File (18 Pages)
Ready to Score Better?
Get this project downloaded Instantly.
PRICE: ₹ 299
*Remote installation support available if needed.