dlimars / fpdf
Fpdf allows to generate PDF files - Fork of Anouar/FPDF
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 52
pkg:composer/dlimars/fpdf
Requires
- php: >=5.3.0
- illuminate/support: 4.1.x
This package is auto-updated.
Last update: 2025-10-10 22:57:42 UTC
README
##laravel-Fpdf
Fpdf allows to generate PDF files . This package is the laravel package version of http://www.fpdf.org , for more information check this link http://www.fpdf.org/?lang=en
##Donation :
If you want to support us:
###Installation
To your composer.json
file, add:
"require-dev": { "dlimars/fpdf": "v1.0.0" }
Next, run composer install
to download it.
Add the service provider to app/config/app.php
, within the providers
array.
'providers' => array( // ... 'Anouar\Fpdf\FpdfServiceProvider', )
Finally, add the alias to app/config/app.php
, within the aliases
array.
'aliases' => array( // ... 'Fpdf' => 'Anouar\Fpdf\Fpdf', )
###Example Code
Route::get('pdf', function(){ $fpdf = new Fpdf(); $fpdf->AddPage(); $fpdf->SetFont('Arial','B',16); $fpdf->Cell(40,10,'Hello World!'); $fpdf->Output(); exit; });