Simple Bus Station Ticketing Booth System in PHP and SQLite Free Source Code


This is a Simple Bus Station Ticketing Booth System. This is a web-based application developed using PHP and SQLite Database. The application provides an automated platform that generates the bus station passengers' tickets and records the transaction. I created this simple PHP Project for educational purposes only. This has a simple user interface using the Bootstrap v5 CSS Framework and user-friendly functionalities. The backend was written in PHP Object Oriented-Programming and each form in the system is submitted using jquery and Ajax HTTP Requests.

I developed this project using the following:

  • XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  • PHP Language
  • SQLite Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap
  • and more...

About the Bus Station Ticketing Booth System

This Bus Station Ticketing Booth System has 2 types of system users which are the Admin and the Cashier. the Admin user can access all the features and functionalities of the system while the Cashier has only limited access and can list the transaction records that he/she personally processed. Talking about generating the passenger's ticket, the system can able to generate multiple tickets in 1 process and the prices are depending on the route selected and passenger type. The application generates a printable and date-wise transaction record.

Project Features

Admin Side

  • Secure Login/Logout
  • Home Page
  • Route Prices(CRUD)
  • Record Transaction
  • Generate Tickets
  • Generate Date-wise Transaction Report
  • Manage Location List (CRUD)
  • Manage User List (CRUD)
  • Manage Account Credentials


  • Secure Login/Logout
  • Home Page
  • Record Transaction
  • Generate Tickets
  • Generate Printable Date-wise Sales Report processed by her/him
  • Manage Account Credentials

Some of the System Snapshots

Ticketing Form

Bus Station Ticketing Booth System

Route Prices List

Bus Station Ticketing Booth System

Generated Ticket

Bus Station Ticketing Booth System

Tranasaction Reports Page

Bus Station Ticketing Booth System

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's php.ini file and uncomment the sqlite3 and gd extension. Then, save the file.
  2. Open your XAMPP/WAMP's Control Panel and start Apache.
  3. Extract the downloaded source code zip file.
  4. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  5. Browse the Bus Station Ticketing Booth System in a browser. i.e. http://localhost/bstbs/.

Default Admin Access

Username: admin
Password: admin123


That's it! You can now explore the features and functionalities of this Bus Station Ticketing Booth System project in PHP and SQLite Database. I hope this will help you with what you are looking for and you'll find something useful for your future PHP Projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byXAVII (not verified)on Tue, 01/23/2024 - 15:36

Where is the report??

Add new comment