Dynamical generation of DOCX

Conversion plugin to PDF, DOC, HTML, ODT, ...

PHPDocX is a PHP library designed to generate completely dynamic, fully customizable and digitally signed Word documents.

Download Now PHPDocX

or Try our Online Demo!

You may create native .docx reports extracting data directly from any database or spreadsheet and export them to other popular formats (PDF, DOC, HTML, ODT, ...) with the help of the conversion plugin. These reports may include editable graphs (only docx), images, tables, headers, footers, etcetera.

PHPDocX can create, and digitally sign if required, Word documents from scratch or use predefined templates to simplify your work. With a few lines of code you may integrate PHPDocX in your website or intranet and offer a valuable service to your customers and employees.

100% compatibility: 100% compatibility
PHPDocx

Digitally sign your Word and PDF documents with PHPDocX

Add a digital signature to your Word and PDF documents: on your server and just with PHP.

Generate Word documents with PHP

Create customized Docx dynamically...

With a few lines of code you can generate a complete report that includes:

  • Editable Text
  • Images and Graphic elements
  • Standard paragraphs
  • Bulleted or numbered lists
  • Customized tables
  • Dynamic tables
  • All kind of customizable and editable charts or graphs to display numerical data
  • Tables of content to simplify readability within long documents
  • Headers that will reflect your corporate branding
  • Footers with automatic page numbering

You could also create and use your own templates for Mailmerge or to generate really sophisticated reports and documents.

See features chart

...from any database or spreadsheet...

PHPDocx is hosted in your server providing a very and complete flexible solution for your document and report generation needs.

PHPDocx is very easy to install. Usually it is just enough to unzip the package in your server and it is ready to go!.

How to install PHPDocx

...with the version that better suits your needs

You may now also add a digital signature to your Word (or PDF) documents with our new Digital Signature Package for PHPDocX.

New version: PHPDocx v3.7

Practically full implementation of the MS Word standard!

Fully rewritten library, faster API and new features! (release notes)

Need support?

If you need some extra help you may buy technical support from our experts.

Buy support tickets

JAVADocx

Do you need a similar functionality but running on a Java platform?

Visit JAVADOCX.com

Recent Posts

  • February 17, 2014
    To use PHPDocX with Symfony‭ ‬2,‭ ‬you just need to register it in the autoloader using the UniversalClassLoader class.‭ ‬Copy the contents of the...
  • January 13, 2014
    We are happy to announce the release of the 3.7 version of PHPDocX. The main goal of this version is to allow for the generation of "right to left...
  • November 28, 2013
    We are happy to announce the release of the 3.6 version of PHPDocX. This new version includes some changes that improve the core functionality of...
View our reviews on Hot Scripts

Explore PHPDocx

Full API Documentation

Complete list of methods included inthe library with examples of use

Online Demo

Test some of the functionalities of PHPDocx PRO before purchase

FAQs

We answer all your questions about PHPDocx

Downloadable samples

PHP code examples classified by difficulty level

Support

Pro version clients may buy extra support services

Forums

Suggestions, questions on licensees, installation, issues...