PHP Classes

PHP Reports: Generate PDF and DOCX reports from Word templates

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 990 All time: 3,668 This week: 80Up
Version License PHP version Categories
php-reports 1.0.3Free for non-comm...5.3.0PHP 5, Web services, Templates


This class can generate PDF and DOCX reports from Word templates.

It can send HTTP requests to the PHP Reports API to generate report documents in PDF or DOCX files from templates defined in the Microsoft Word format DOCX.

The class can take the identifier of the template document to use, template variables to replace in the template, and serves the generated report document for download.

Innovation Award
PHP Programming Innovation award nominee
April 2016
Number 13

Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
Many PHP applications need to generate documents that can be printed. Usually they use the PDF format as output.

Generating PDF programmatically is not easy, so it is better to convert from some other format.

This class provides an alternative solution that consists in producing templates in Microsoft Word DOCX format, replace some variable values inside them and then output the final output using a Web service.

The Web service also supports generating the processed templates in DOCX format.

Manuel Lemos
Picture of Murat Cileli
  Performance   Level  
Name: Murat Cileli <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: ???
All time rank: 226839 in Turkey Turkey
Week rank: 398 Up9 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 2x


Convert Microsoft Word doc, docx to PDF
I want to convert doc file to a PDF file

Convert Word document to PDF
How do I convert a Microsoft Word document to PDF

What is the best PHP docx to pdf class?
View DOCX or PPTX uploaded files in PDF format

What is the best PHP docx to pdf convert class?
Convert the docx or pptx files to pdf files

What is the best PHP class to create PDF table from SQL results
Create query results table in PDF

How to implement a reporting tool or library?
I need to implement a reporting tool or library



PHP Reports will stop its services on 1 September 2019 due to the merge with API Den. New users can register from the API Den website. Existing users are required to integrate with API Den until the closing date.

Please visit and get your free API key:

  Files folder image Files  
File Role Description
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,668
This week:80Up