2017 © Pedro Peláez
 

library fpdf

Fpdf allows to generate PDF files

image

anouar/fpdf

Fpdf allows to generate PDF files

  • Thursday, February 16, 2017
  • by Anouar
  • Repository
  • 7 Watchers
  • 45 Stars
  • 104,614 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 39 Forks
  • 1 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

If you're going to use this package with L4, make sure you include the laravel 4 version:, (*1)

"require": {
    "anouar/fpdf": "1.0.1"
}

laravel-Fpdf

Fpdf lets you 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, (*2)

Donation :

If you want to support us: Click here to lend your support to: github and make a donation at pledgie.com !, (*3)

Installation

Add the following to your composer.json file:, (*4)

"require-dev": {
    "anouar/fpdf": "1.0.2"
}

Next, run composer install to download it., (*5)

Add the service provider to app/config/app.php, within the providers array., (*6)

'providers' => array(
    // ...

    'Anouar\Fpdf\FpdfServiceProvider',
)

Finally, add the alias to app/config/app.php, within the aliases array., (*7)

'aliases' => array(
    // ...

    'Fpdf'    => 'Anouar\Fpdf\Facades\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;

});

OR

``` Route::get('pdf', function(){, (*8)

    Fpdf::AddPage();
    Fpdf::SetFont('Arial','B',16);
    Fpdf::Cell(40,10,'Hello World!');
    Fpdf::Output();
    exit;

});, (*9)

The Versions

16/02 2017

2.0

2.0.0.0

Fpdf allows to generate PDF files

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar Anouar

30/03 2015

1.0.x-dev

1.0.9999999.9999999-dev

Fpdf allows to generate PDF files

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar Anouar

30/03 2015

1.0.1

1.0.1.0

Fpdf allows to generate PDF files

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar Anouar

30/03 2015

dev-master

9999999-dev

Fpdf allows to generate PDF files

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar Anouar

30/03 2015

1.0.2

1.0.2.0

Fpdf allows to generate PDF files

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar Anouar