This project is a full-stack PHP-based web system designed to support college operations by providing two integrated portals:
- Event Management & Registration Portal
- Placement Cell Student Portal
The system is modular, scalable, and built with real-world deployment in mind. It allows students to interact with college services efficiently while enabling administrators to manage data securely and effectively.
- Improve student engagement through centralized digital services.
- Simplify event registration and placement management.
- Provide a real-world deployable system that can be integrated into the college website.
- Ensure equal learning and contribution for both team members.
The project consists of a common landing page that directs users to two independent portals:
TL;DR: A lightweight PHP-based system providing two portals: Event Management and Placement Cell, suitable for local development with XAMPP or deployment to any PHP host.
- Features
- Architecture
- Tech Stack & Requirements
- Installation (Local)
- Configuration
- Quickstart
- Folder Structure
- Contributing
- Security Notes
- License
- Two portals: Event Management (students + admin) and Placement Cell (students + admin).
- Student registration, event sign-ups, profile/resume upload, job listings, and admin dashboards.
The app uses a shared landing page that routes to /event/ and /placement/. Common services (DB connection and auth) are in config/ and auth/.
- PHP 7.4 or newer
- MySQL 5.7+ (or MariaDB compatible)
- Apache 2.4+ (XAMPP recommended for local dev)
- PHP extensions:
mysqli,pdo_mysql,mbstring,fileinfo,openssl
- Place the project folder in your web server root (for XAMPP:
C:\xampp\htdocs\gbu-php). - Start Apache and MySQL using the XAMPP control panel.
- Create a MySQL database for the app and import any provided
.sqlschema if available. - Update database credentials in
config/database.php(see Configuration).
Edit config/database.php and set the host, username, password, and database variables to match your MySQL server. Do not commit production credentials to version control; keep secrets out of the repository.
- Start Apache and MySQL (XAMPP).
- Configure
config/database.phpwith your DB credentials. - Import the database schema if provided.
- Open your browser to
http://localhost/gbu-php/to view the landing page.
gbu-php/
index.php— main landing pageassets/— CSS, JS, imagesevent/— Event Management portal (student + admin)placement/— Placement portal (student + admin)config/database.php— DB connectionauth/— login, register, logout handlers
Please open issues for bugs or feature requests. To contribute, fork the repo, create a feature branch, and open a pull request. Keep PHP code readable and follow consistent indentation. Add steps here for tests or linters if you want them.
- Sanitize user inputs and validate uploads before saving.
- Use password hashing (password_hash) and HTTPS in production.
- Restrict file upload types and sizes.
This project is released under the MIT License. See LICENSE for details.
- Frontend: HTML, CSS, JavaScript, Bootstrap