universalware / ds-yii2-tcpdf
Replacement for glitchit/ds-yii2-tcpdf abandoned package - TCPDF is a PHP class for generating PDF documents and barcodes.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 3
pkg:composer/universalware/ds-yii2-tcpdf
Requires
- php: >=5.3.0
- ext-zlib: *
This package is auto-updated.
Last update: 2025-12-28 13:22:21 UTC
README
This repository is only as a workaround for the now (one can only asssume) abandoned yii2-tcpdf package from Drivesoftz. I did write this code, I am not claiming to have written this code, this code is provided as is with no garauntee it will work in your project. I happen to have an existing copy of the code and am unable to continue dev on a current project without this package.
Any questions about code can be addressed to: Eakkabin Jaikeawma (CoachMaxz) - eakkabin_it@outlook.co.th - https://drivesoft.co.th/
Original readme.md below:
TCPDF TH
Version: 1.0.2
Release date: 2025-05-28
Author: Eakkabin Jaikeawma (CoachMaxz)
Install
$ composer require universalware/ds-yii2-tcpdf ~1.0
Example
use TCPDF; $items = array( 'header' => array( array('#', 'text', 15, 'C', ''), array('ID', 'text', 35, 'L', ''), array('Name', 'text', 55, 'L', ''), array('Price', 'number', 25, 'R', ' Baht.'), array('Amount', 'number', 25, 'R', ' items.'), array('Total', 'number', 25, 'R', ' Baht.'), ), 'items' => array( array('1', 'PRO5900001', 'Yii 2 Framework Book', 250, 3, 750) ) ); (new TCPDF('P'))->table('product-table.pdf', $items);
