A comprehensive PHP and MySQL-based transport management system designed for educational institutions to streamline bus route management, student transport applications, and scheduling.
- User Management: Separate roles for administrators and students
- Route Management: Define bus routes with start/end points, distances, and fares
- Bus Fleet Management: Track buses, drivers, and capacity information
- Transport Applications: Students can apply for transport services
- Schedule Management: Organize bus departures and routes
- Payment Tracking: Record payments via cash
- PHP
- MySQL
- HTML/CSS (Bootstrap)
- JavaScript
- Clone the repository
git clone https://github.com/ariful305/transport-management-php-mysql.git
cd transport-management-php-mysql-
Import the database schema
- Create a MySQL database named
transport_management - Import
setup.phptransport_management.sqlor run it directly in your browser to set up the database structure
- Create a MySQL database named
-
Configure the database connection
- Open
setup.phpand update the database credentials:
- Open
$servername = "localhost";
$username = "your_username";
$password = "your_password";
$dbname = "transport_management";-
Start your local server (XAMPP, WAMP, MAMP,Laragon etc.)
-
Access the application through your browser
http://localhost/transport-management-php-mysql/
- Username: admin
- Password: 123456789
- Email: admin@gmail.com
The system consists of several key tables:
- users - Store user authentication information
- profiles - Contains extended user information
- routes - Defines transport routes with pricing
- buses - Manages bus fleet information
- transport_applications - Tracks student applications for transport
- schedule_buses - Manages bus scheduling
- Manage users and approve student registrations
- Configure routes and pricing
- Manage bus fleet
- Review and approve transport applications
- Set up bus schedules
- Register and complete profile
- Browse available routes
- Apply for transport services
- Make payments
- View approved routes and schedules
- Default password encryption uses MD5, which is not recommended for production use. Consider upgrading to PHP's
password_hash()function for better security. - Validate all user inputs to prevent SQL injection.
- Developed for educational institutions to manage transportation services
- Simplifies the management of bus fleets, routes, and student applications