GYM PRO – Gym Management System

Description
GYM PRO is a professional, user-friendly PHP & MySQL-based Gym Management System designed to simplify and automate the day-to-day operations of gyms, fitness centers, and health clubs. It provides an efficient solution for managing members, memberships, attendance, payments, workout plans, trainers, and business reports from a centralized dashboard.
Built with a clean and responsive interface, GYM PRO helps gym administrators reduce manual work, maintain accurate records, monitor member activity, and manage recurring memberships with ease.
Features
Key Features:
- Member Registration & Management
- Membership Plans & Renewals
- Attendance & Check-in/Check-out Tracking
- Trainer Management
- Workout & Fitness Plan Management
- Fees, Payments & Due Tracking
- Dashboard with Important Statistics
- Reports & Analytics
- Secure Admin Login
- Responsive & Modern Interface
- MySQL Database for Reliable Data Management
- PHP-based, easy to deploy on standard web hosting
Requirements
PHP 8.1 and Above, MySQL, HTML5, CSS3, JavaScript & Bootstrap Enabled Environment.
Instructions
Step 1: Create the Database on Hosting
Live servers do not let you create databases via code easily. You must use the hosting control panel.
- Log in to your cPanel.
- Search for MySQL® Databases.
- Create a Database: Name it (e.g., yourname_gym_db).
- Create a User: Create a specific user (e.g., yourname_gym_admin) and a strong password.
- Add User to Database: Select the user and database you just created, click Add, and check ALL PRIVILEGES.
Step 2: Import the SQL
- Go back to cPanel and open phpMyAdmin.
- Select your new database on the left.
- Click the Import tab at the top.
- Choose the SQL file you generated (or use the SQL code provided in our previous steps).
- Click Go.
Step 3: Update the Connection File (config/db.php)
On a live server, the username is almost never root and the password is never empty.
$host = 'localhost';
$db = 'yourname_gym_db'; // The full name from cPanel
$user = 'yourname_gym_admin'; // The full name from cPanel
$pass = 'your_strong_password';
Step 4: Upload the Files
- Open File Manager in cPanel.
- Go to the public_html folder (this is your website's root).
- Upload your gym folder here.
- If you want the gym system to be your main website (www.yoursite.com), upload the contents of the folder directly into public_html.
- If you want it at www.yoursite.com/gym, upload the folder as is.
Step 5: Update the QR Poster Logic (qr_poster.php)
On localhost, we used the IP address. On hosting, we use your Domain Name. Update the URL logic in qr_poster.php:
codePHP
<?php
// Change this line in qr_poster.php
$domain = $_SERVER['HTTP_HOST']; // This automatically gets your domain (e.g. mysite.com)
$checkinURL = "https://" . $domain . "/gym/checkin.php";
// Note: Use https if you have an SSL certificate
?>
Step 6: Production Security Hardening
Since your site is now live, hackers can try to find it. Do these three things:
1. Force HTTPS (.htaccess)
Create a file named .htaccess in your public_html folder and add this to ensure all traffic is encrypted:
codeApache
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
2. Disable Error Reporting
You don't want hackers to see PHP errors. In your cPanel, find Select PHP Version -> Options and turn off display_errors.
3. Protect your Config folder
Create another .htaccess file inside your /config/ and /includes/ folders with this line:
codeApache
Deny from all
###i/i###yoursite.com/config/db.php to see your database setup.
Step 7: Testing
- Visit https://yourdomain.com/gym/login.php.
- Log in with admin / admin123.
- Go to Settings and update your Gym Name and Address.
- Test the Database Backup to ensure the server allows file downloads.
You are now live! Your gym owner can now access the system from anywhere in the world on their phone or laptop. Would you like help setting up a Cron Job so the server automatically checks for expired memberships every night?
| Author | arunangsuroy |
|---|---|
| Category | Scripts & Code / AngularJS |
| Price | $40 |
| Extended License | $120 |
| First Release | Sep 8, 2026 |
| Last Update | Sep 8, 2026 |
| Database | MySQL 5.7, MariaDB 10.x, MariaDB 11.x, MySQL 5.x |
| Files included | .php, .css, .html |
| Software version | PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4, PHP 8.5 |
| Html/css framework | Bootstrap |
| Software framework | CakePHP |
| Javascript framework | jQuery |
| Programming language | PHP, JavaScript |
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 3,095 views · 28 clicksSaaS · Week 45 · 3,095 views · 28 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 40,485 views · 216 clicksWebsite · Week 45 · 40,485 views · 216 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 38,577 views · 110 clicksSaaS · Week 45 · 38,577 views · 110 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 57,614 views · 197 clicksSaaS · Week 45 · 57,614 views · 197 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 27,046 views · 119 clicksDesktop App · Week 45 · 27,046 views · 119 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 2,987 views · 18 clicksWebsite · Week 45 · 2,987 views · 18 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
1,681 views · 16 clicksWeek 45 · 1,681 views · 16 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
1,573 views · 13 clicksWeek 45 · 1,573 views · 13 clicks