Skip to content

SerdarSanri/tcpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TCPDF Bundle for Laravel

How to install

Tcpdf bundle for Laravel, installable via the Artisan CLI:

php artisan bundle:install Tcpdf

Or you can manually copy the tcpdf folder from the downloaded package into the bundles folder.

Now you must auto-load the bundle in bundles.php

'tcpdf' => array('auto' => true),

Basic example

Here is a basic example on how to use the bundle:

$pdf = new Tcpdf();
$pdf->AddPage();
$pdf->SetFont('times','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();

TCPDF by Nicola Asuni

TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions.

Examples are included in the bundle under: library/examples

On the tcpdf homepage you will find links to the documenation, forums and so on.

About

A Laravel bundle containing tcpdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages