2017 © Pedro Peláez
 

library pdf-classe

PDF creator

image

chokri/pdf-classe

PDF creator

  • Saturday, February 11, 2017
  • by chokri
  • Repository
  • 1 Watchers
  • 2 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Latest Stable Version License, (*1)

PDFKit

A simple PHP library for making PDF files. Uses setasign/fpdf and works with PHP 8.4 or newer., (*2)

Installation

Install with Composer:, (*3)

composer require chokri/pdfkit

Basic Example

require 'vendor/autoload.php';

use Chokri\PDF\Pdf;

$pdf = new Pdf();
$pdf->addTitlePage('My PDF Title', 'Subtitle', 'Author Name');
$pdf->addTable(['Col1', 'Col2'], [['A', 'B'], ['C', 'D']]);
$pdf->addImageCentered('logo.png', 80);
$pdf->addPageNumbering();
$pdf->Output('I', 'example.pdf');

Features

  • Easy to use
  • PSR-4 autoloading
  • PHP 8.4+ support
  • GPL-3.0 license
  • Write HTML with WriteHTML()
  • Add tables and images
  • Custom header and footer
  • Unit tested with PHPUnit

License

GPL-3.0-or-later. See LICENCE., (*4)

Changelog

See CHANGELOG.md for updates., (*5)

Author

Chokri Khalifa — chokrikhalifa.com, (*6)

The Versions

11/02 2017

dev-master

9999999-dev

PDF creator

  Sources   Download

GPL

The Requires

 

by Khalifa chokri

19/11 2014

1.0

1.0.0.0

PDF creator

  Sources   Download

GPL

The Requires

 

by Khalifa chokri