PDF Generator Web App using TCPDF and PHP/OOP Free Source Code

Language

Introduction

This simple project is a PDF Generator Web Application. This project is a web-based application developed in PHP and MySQL Database that allows the user to create a PDF File. The project uses TCPDF Library to achieve the main goal of the application. It has a pleasant user interface using Material Kit Template. The project contains user-friendly features and functionalities.

About the PDF Generator Web Application

I developed this project using the following:

These Simple Employees PDF Generator Web Application is accessible to the public which means the application does not require the users to register and to log in. The project allows user to create their own pdf file using the application form. PDF Generation Form contains different input fields which are the name, PDF Contents using Summernote library, and password field. The user can encrypt the pdf file using their given password. The application store also the pdf contents as an HTML File to easily update the PDF File.

Features

  • Home Page
  • Create New PDF File
  • List All Created File
  • Search Created File From List
  • Preview PDF File
  • Download PDF File
  • Encrypt Created PDF File
  • Updated PDF File
  • Delete PDF File

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted. This PDF Generator Web Application source code might be helpful for those developing a PHP Project that contains PDF Generation Feature for some reports purposes. You can use the source code as your reference.

System Snapshots of some Features

Create File List

PDF Generator Web Application

Generation Form

PDF Generator Web Application

Generated PDF Output

PDF Generator Web Application

How to Run ??

Requirements

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Extract the downloaded assets zip file.
  5. Copy the extracted assets folder and paste it into the source code root path.
  6. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  7. Create a new database naming pdf_generator_db.
  8. Import the provided SQL file. The file is known as pdf_generator_db.sql located inside the database folder.
  9. Browse the PDF Generator Web Application in a browser. i.e. http://localhost/pdf_generator/.

DEMO VIDEO

That's it. You can now explore the features and functionalities of this PDF Generator Web Application in PHP. I hope this 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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted byoleteacheron Thu, 12/15/2022 - 22:15

Really nice project!

SQLite version would be a very nice addition.

Thanks for sharing.

Submitted byoleteacheron Tue, 01/24/2023 - 13:56

Student alerted me that you cannot turn off encryption once turned on. Toggle off and save, but toggle returns to on state.

Suggestion: do not automatically return to PDF list after saving a PDF.

Thanks again for sharing the code.

Add new comment