mumpo / fpdf-barcode
Fpdf allows to generate PDF files with Barcodes
1.0.1
2016-09-12 14:38 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-04-22 11:01:30 UTC
README
##laravel-Fpdf-barcode
Fork of https://github.com/anouarabdsslm/laravel-fpdf, with barcode and QR generation capabilities.
###Usage
$fpdf = new FpdfBarcode(); $fpdf->AddPage(); // Code 128 horizontal // $x, $y, $code, $width, $height, $vertical $fpdf->code128(15, 15, 'HORIZONTAL CODE', 85, 10, false); // Code 128 vertical // $x, $y, $code, $width, $height, $vertical $fpdf->code128(150, 15, 'VERTICAL CODE', 85, 10, true); // QR // $code, $x, $y, $size $fpdf->QR('QR CODE', 15, 50, 20); $fpdf->Output();