Simple Leads Management System in PHP/OOP Free Source Code



This is a Simple PHP entitled Leads Management System. This is a web-based application that helps business to manage their leads for their sales. The project is just simple and mainly developed for educational purposes only and to give an idea to the students or new self-learners programmers on how to develop a such like the said system. It was developed using PHP/OOP as the backend and MySQL Database. The application has a simple and pleasant user interface using the Bootstrap Framework and AdminLTE Template. It is easy to use and has user-friendly features and functionalities.

This Lead Management System gathers some information about the prospects and staff can add some information about the prospect and do some action. With this simple system, the business management can easily retrieve the records of their prospects for qualified leads to sales.

About the Leads Management System

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
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap
  • AdminLTE
  • and more...

The Leads Management System Project is accessible for the 2 types of system users which are the Administrators and Staff. The Administrator Users have the privilege to access and manage all the features and functionalities of the system. They are also ones who can create new Leads and Opportunities. Admin users assign the leads and opportunities to a representative or staff who will be the one to contact the prospect and continue the process. The Staff users have only limited access. They can only manage the leads and opportunities that are assigned to them. They can store their Call Logs and notes with the prospect. In this system, users can move the prospects' information from the lead list to the opportunity leads for those leads that are qualified for creating an opportunity. The Admin Users can dynamically add, edit, and delete the leads sources list.


  • Secure Login and Logout
  • Dashboard
    • Display the summary of lists.
  • Lead Sources Management
    • Add New Lead Source
    • List All Lead Sources
    • View Lead Source
    • Update Lead Source
    • Delete Lead Source
  • Lead Management
    • Add New Lead
    • List All Leads
    • Update Lead Details
    • View Lead Details
    • Add Call Logs
    • Edit Call Logs
    • View Call Logs
    • Delete Call Logs
    • Add Note
    • Edit Note
    • View Note
    • Delete Note
    • Move Lead to Opportunity
    • Update Lead's Status
    • Delete Lead Details
  • Opportunity Management
    • Add New Opportunity
    • List All Opportunities
    • Update Opportunity Details
    • View Opportunity Details
    • Add Call Logs
    • Edit Call Logs
    • View Call Logs
    • Delete Call Logs
    • Add Note
    • Edit Note
    • View Note
    • Delete Note
    • Move Opportunity to Opportunity
    • Update Opportunity's Status
    • Delete Opportunity Details
  • Manage User List (CRUD)
  • Manage Account Details/Credentials
  • Manage System Information

System Snapshots of some Features

Dashboard Page
Leads Management System
Lead List
Leads Management System
Opportunity List
Leads Management System
Lead Details
Leads Management System
Lead Source List
Leads Management 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. Enable or Uncomment the GD Library on your php.ini file.
  2. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  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 PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database naming lms_db.
  7. Import the provided SQL file. The file is known as lms_db.sql located inside the database folder.
  8. Browse the Leads Management System in a browser. i.e. http://localhost/lms/.

Default Admin Access

Username: admin
Password: admin123


That's it. You can now explore the features and functionalities of this Leads Management System in PHP. I hope this project will help you with what you are looking for and you'll find something useful for your future 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 byfaizx (not verified)on Sun, 08/06/2023 - 16:37

Hello! Im using cPanel web hosting, is it possible? Kindly advise

Add new comment