Recommend this page to a friend! |
Download .zip |
Info | Example | Screenshots | View files (31) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-01-10 (3 months ago) | Not yet rated by the users | Total: 353 This week: 4 | All time: 6,884 This week: 63 |
Version | License | PHP version | Categories | |||
extfpdf 1.1.0 | Freely Distributable | 7.4 | PHP 5, Printing |
Description | Author | |
This class can generate PDF documents with tables displaying data. Recommendations What is the best PHP save pdf to folder class? What is the best PHP mssql pagination class? |
this package contains a modified version of FPDF (based on Version 1.82 from 2019-12-07) with following changes: - PHP 7.4 typehinting - integrated the bookmark extension from http://www.fpdf.org/ - phpDoc comments (content from the FPDF-Manual at http://www.fpdf.org/) - PSR coding style (camel case methods, spacing, indentation, brackets) - namespace for PSR-4 autoloading - some fixes according to phpStan/scrutinizer inspections
This class can generate PDF reports with tables displaying data.
It is an extension of the FPDF that takes arrays with data to display on the rows of a table and then it can generate a PDF document that displays the table on a page.
The class allows to configure the orientation of the table on the page. Other attributes can be set using functions of the FPDF base class.
In addition to extensive column definitions such as - Date values - Currency information - formatted numerical values - graphic symbols
the package offers the possibility to automatically insert totals, subtotals and page transfers.
See the blog post here for detailed description.
* initial Version
* added functions for total, subtotals and carryover * added formating for currency, number and datetime * fixed some problems with euro-sign and german umlauts
* Integrated extension to set bookmarks from O.Plathey * Added new functions to set internal links within the datagrid
* Moved XPDFFont into a separate file to correspond to PSR-0 / PSR-4 (one file per class) * Set namespace to fit PSR-4 recommendations for autoloading. * Added missing PHP 7.4 type hints / docBlock changes * Support of image columns * Added separate font for subject in page header (2'nd line) * customizeable Height of the header logo
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
images (5 files) | ||||
OPlathey (1 directory) | ||||
SKien (1 directory) | ||||
autoloader.php | Aux. | Auxiliary script | ||
example_en.md | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpstan.neon | Data | Auxiliary data | ||
readme.md | Doc. | Documentation | ||
xfpdf-sample.json | Data | sample format | ||
XFPDFExample.class.php | Class | Example class demonstrating use of package | ||
XFPDFExample.php | Example | Example script | ||
xpdf-example.pdf | Output | example PDF file |
Files | / | images |
File | Role | Description |
---|---|---|
elephpant.png | Icon | sample Logo |
green.png | Icon | Icon image |
mysql_logo.png | Icon | Icon image |
red.png | Icon | Icon image |
yellow.png | Icon | Icon image |
Files | / | OPlathey | / | FPDF | / | font |
File | Role | Description |
---|---|---|
courier.php | Aux. | Auxiliary script |
courierb.php | Aux. | Auxiliary script |
courierbi.php | Aux. | Auxiliary script |
courieri.php | Aux. | Auxiliary script |
helvetica.php | Aux. | Auxiliary script |
helveticab.php | Aux. | Auxiliary script |
helveticabi.php | Aux. | Auxiliary script |
helveticai.php | Aux. | Auxiliary script |
symbol.php | Aux. | Auxiliary script |
times.php | Aux. | Auxiliary script |
timesb.php | Aux. | Auxiliary script |
timesbi.php | Aux. | Auxiliary script |
timesi.php | Aux. | Auxiliary script |
zapfdingbats.php | Aux. | Auxiliary script |
Files | / | SKien | / | XFPDF |
File | Role | Description |
---|---|---|
XPDF.php | Class | Class source |
XPDFFont.php | Class | Class source |
Version Control | Reuses | Unique User Downloads | Download Rankings | ||||||||||||||||
100% | 1 |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Other classes that need this package |
Class | Why it is needed | Dependency |
---|---|---|
PHP MySQL Table Information | Base class for PDF creation | Required |