Welcome to the Gym Web PHP project! This project is designed to help you create a web application for managing a gym or fitness center. It's built using PHP, MySQL, and HTML/CSS, and provides features for both gym administrators and members.
The Gym Web PHP project is a web-based application that aims to simplify gym management tasks, making it easier for both gym administrators and members to interact with the system. Administrators can manage memberships, schedule classes, track attendance, and more. Members can view class schedules, track their own attendance, and update their profiles.
-
Admin Panel:
- Manage members: Add, edit, and delete member profiles.
- Manage memberships: Create and update membership plans.
- Schedule classes: Set up classes, assign trainers, and define class times.
- Track attendance: Mark attendance for classes and view attendance reports.
-
Member Portal:
- View class schedule: Check the schedule of upcoming classes.
- Update profile: Members can update their personal information.
- View attendance: See their attendance history for different classes.
- Join classes: Members can enroll in classes they're interested in attending.
Follow these steps to set up the Gym Web PHP project on your local development environment.
- Web Server: You need a web server like Apache or Nginx installed.
- PHP: Ensure you have PHP 7.x or later installed.
- MySQL: Make sure you have MySQL or another compatible database system.
- Composer: Install Composer, a PHP dependency management tool.
-
Clone the Repository: Clone this repository to your web server's document root.
git clone https://github.com/your-username/gym-web.git
-
Install Dependencies: Navigate to the project directory and install PHP dependencies using Composer.
cd gym-web composer install
-
Database Setup: Create a new MySQL database for the project. Import the SQL schema from the
database.sql
file provided.mysql -u username -p database_name < database.sql
-
Configuration: Rename the
config.example.php
file toconfig.php
and update the database credentials and other settings. -
Web Access: Make sure your web server is correctly configured to serve the project. You may need to set up virtual hosts or configure your server's document root.
-
Access the Project: Open your web browser and navigate to the URL where the project is hosted.
- Access the admin panel by logging in with your administrator credentials.
- Manage members, memberships, classes, and attendance using the provided interface.
- Members can log in using their credentials.
- View class schedules, update their profiles, and see their attendance history.
Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license.