2017 © Pedro Peláez
 

library pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

image

rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  • Thursday, July 19, 2018
  • by lsolesen
  • Repository
  • 14 Watchers
  • 47 Stars
  • 29,985 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 24 Forks
  • 10 Open issues
  • 37 Versions
  • 28 % Grown

The README.md

ROS PHP Pdf creation class

Latest Stable Version Total Downloads Daily Downloads License Build Donations Badge, (*1)

ros.jpg, (*2)

This is the official GIT clone from the R&OS PHP Pdf class previously stored on sourceforge.net/projects/pdf-php. Development will take place here now., (*3)

The R&OS Pdf class is used to generate PDF Documents using PHP without installing any additional modules or extensions It comes with a base class called "Cpdf.php" plus a helper class "Cezpdf.php" to generate tables, add backgrounds and provide paging., (*4)

Features

  • Quick and easy to use
  • Support for extension classes
  • Unicode and ANSI formatted text
  • Custom TTF fonts and font subsetting (version >= 0.11.8)
  • Auto page and line breaks
  • Text alignments (left, right, center, justified)
  • Linked XObjects
  • Internal and external links
  • Compression by using gzcompress
  • Encryption 40bit, 128bit since PDF 1.4
  • Image support for JPEG, PNG and GIF (partly)
  • Template support

Installation

Manual Download

Open the RELEASE page and pick the latest version to download., (*5)

Extract the archive into your project directory, (*6)

Clone via git

You can also use git to install it using:, (*7)

git clone https://github.com/rospdf/pdf-php.git
git checkout <latest-version>

Installation via composer

This library is also available on the dependency manager composer - https://packagist.org/packages/rospdf/pdf-php, (*8)

Please follow the steps here to install. Once this is done one simple command will get all dependencies for the package rospdf/pdf-php, (*9)

./composer.phar require rospdf/pdf-php

For more details on how to use composer please refer to the documentation - https://getcomposer.org/doc/, (*10)

Example

ezSetMargins(20,20,20,20);
// Use one of the pdf core fonts
$mainFont = 'Times-Roman';
// Select the font
$pdf->selectFont($mainFont);
// Define the font size
$size=12;
// Modified to use the local file if it can
$pdf->openHere('Fit');

// Output some colored text by using text directives and justify it to the right of the document
$pdf->ezText("PDF with some blue red and green colours", $size, ['justification'=>'right']);
// Output the pdf as stream, but uncompress
$pdf->ezStream(['compress'=>0]);
?>

Contributors

ole1986 is lead developer., (*11)

See the full list of contributors., (*12)

The Versions

19/07 2018

dev-master

9999999-dev https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT GPL-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

19/07 2018

0.12.47

0.12.47.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

06/06 2018

0.12.46

0.12.46.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

24/05 2018

0.12.45

0.12.45.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

19/05 2018

dev-addText

dev-addText https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

22/04 2018

dev-experimental

dev-experimental http://pdf-php.sourceforge.net/

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Wayne Munro
by Sune T. Jensen
by Ole Koeckemann

21/04 2018

0.12.44

0.12.44.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

21/04 2018

dev-Issue_90

dev-Issue_90 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

03/04 2018

0.12-rc16

0.12.0.0-RC16

  Sources   Download

03/04 2018

0.12-rc17

0.12.0.0-RC17

  Sources   Download

03/04 2018

0.12-rc18

0.12.0.0-RC18

  Sources   Download

03/04 2018

0.12-rc19

0.12.0.0-RC19

  Sources   Download

03/01 2018

0.12.43

0.12.43.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

03/01 2018

0.12.42

0.12.42.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

16/09 2017

dev-remove-php-53

dev-remove-php-53 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

14/09 2017

0.12.41

0.12.41.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

14/07 2017

0.12.40

0.12.40.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

01/07 2017

0.12.39

0.12.39.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

26/06 2017

0.12.38

0.12.38.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

25/06 2017

0.12.37

0.12.37.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

28/05 2017

0.12.36

0.12.36.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann
by Sune Jensen

26/05 2017

0.12.35

0.12.35.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

20/05 2017

0.12.34

0.12.34.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

20/05 2017

0.12.33

0.12.33.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

02/05 2017

0.12.32

0.12.32.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

12/01 2017

0.12.31

0.12.31.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

09/01 2017

0.12.30

0.12.30.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

19/12 2016

0.12.29

0.12.29.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

21/11 2016

0.12.28

0.12.28.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

16/11 2016

0.12.27

0.12.27.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

28/10 2016

0.12.26

0.12.26.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

27/10 2016

0.12.25

0.12.25.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

23/10 2016

0.12.24

0.12.24.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

16/10 2016

0.12.23

0.12.23.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

01/06 2016

0.12.22

0.12.22.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

17/05 2016

0.12.21

0.12.21.0 https://github.com/rospdf/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann

12/05 2016

0.12.20

0.12.20.0 https://github.com/ole1986/pdf-php

The R&OS Pdf class supports the creation of PDF documents without any adiditional modules or extensions.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

by Wayne Munro
by Ole Koeckemann