2017 © Pedro Peláez
 

library fpdf

FPDF Composer Wrapper

image

fpdf/fpdf

FPDF Composer Wrapper

  • Tuesday, February 13, 2018
  • by coreydoughty
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,047 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 495 % Grown

The README.md

FPDF Wrapper Class

A composer wrapper around the great php FPDF class. All credit to them., (*1)

FPDF Website, (*2)

Currently uses FPDF 1.86., (*3)

Installation

Add to your "composer.json" file under the "require" section:, (*4)

"fpdf/fpdf": "^1.86"

Update composer, (*5)

php composer.phar update

Usage

In your php file that you want to use the class add a use statement., (*6)

use Fpdf\Fpdf;

Then use as per the FPDF documentation., (*7)

``` php $pdf = new Fpdf();, (*8)


Alternatively you can extend as a typical php class. ```php class CustomPdf extends Fpdf { public function __construct( $orientation = 'P', $unit = 'mm', $size = 'letter' ) { parent::__construct( $orientation, $unit, $size ); // ... } }

License FPDF

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software to use, copy, modify, distribute, sublicense, and/or sell
copies of the software, and to permit persons to whom the software is furnished
to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.

The Versions

13/02 2018

dev-master

9999999-dev https://github.com/coreydoughty/Fpdf

FPDF Composer Wrapper

  Sources   Download

MIT FPDF

The Requires

  • php >=5.6.0

 

by Corey Doughty

wrapper pdf fpdf

13/02 2018

1.8.1

1.8.1.0 https://github.com/coreydoughty/Fpdf

FPDF Composer Wrapper

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Corey Doughty

wrapper pdf fpdf