Bank

  • image
  • image
  • image
  • image
  • image

Several banking documents with images and charts, created separately, then merged and transformed to PDF with phpdocx using just a few lines of code.

Create, merge and transform to PDF banking documents with phpdocx

A bank tries to recommend funds to its clients to invest in. To do this, they first create a document from scratch with the general information for all the clients. This document will add charts and images with addChart and addImage. The data used for the charts is from a web service. An image of the document is shown below.

Another document is created with the specific recommendations for each client. In this document charts are also added.

The completed documents are merged into one with mergeDocx:

Finally the document is transformed into PDF format.