2017 © Pedro Peláez
 

package fpdflaravel

FPDF Laravel 5

image

rizalafani/fpdflaravel

FPDF Laravel 5

  • Monday, February 8, 2016
  • by rizalafani
  • Repository
  • 1 Watchers
  • 1 Stars
  • 271 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

laravel 5 fpdf

Laravel 5 FPDF, (*1)

Usage

"require": {
    "rizalafani/fpdflaravel": "dev-master"
}

Kemudian, jalankan composer update., (*2)

Tambahkan service provider ke config/app.php, pada array providers., (*3)

'providers' => [
    // ...

    rizalafani\fpdflaravel\FpdfServiceProvider::class,
]

Selanjutnya, tambahkan alias ke config/app.php, pada array aliases., (*4)

'aliases' => [
    // ...

    'FPDF' => rizalafani\fpdflaravel\FpdfFacade::class,
]

Contoh

Route::get('pdf', function(){

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

});

The Versions

08/02 2016

dev-master

9999999-dev

FPDF Laravel 5

  Sources   Download

MIT

The Requires

 

by Ahmad Rizal Afani

laravel pdf fpdf print report

07/02 2016

v1.0

1.0.0.0

FPDF Laravel 5

  Sources   Download

MIT

The Requires

 

by Ahmad Rizal Afani

laravel pdf fpdf print report