Coder Social home page Coder Social logo

pdflib's Introduction

pdflib

A basic PHP PDF library based on FPDF

The goal of this libary is to add basic typesetting primitives, basic HTML support and additional features to FPDF to simplify the document-specific code required. It also provides an object oriented class hierarchy for adding document classes, a file structure to put them in and a basic top-level script for browsers.

Installation

The dependencies are stored in composer.json, so install composer (see https://getcomposer.org/ for instructions) then run:

composer install

The GD extension is also required to deinterlace interlaced PNGs.

Contributing

All contributions must contain a signed-off-by line in accordance with the Developer Certificate of Origin: http://developercertificate.org/

All contributions must be licensed under the LGPL 2.1.

Usage / API

test/example.php is a basic test case and provides a good reference for how a pdf class should work.

It's output can be found by running:

php test/test.php > test.pdf

The PDF file produced should be visually identical to the one saved in the top directory as example.pdf.

pdflib's People

Contributors

jayhealey avatar skurrier avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jayhealey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.