Download the PHP package david-garcia/fpdf without Composer

On this page you can find all versions of the php package david-garcia/fpdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fpdf

FPDF

Set-up the library

Before we start

You will need to download and install composer:

(NOTE: this project is not related with composer team so they can change the way to download and use it. Please refer to getcomposer.org to get latest updates about how to get composer)

Now that you have the composer.phar file, you can move it to your project folder, in order to use it as part of it:

(NOTE: your composer.phar file should be added into your .gitignore file, due it's not a file related with your project)

Or you can move it as a global system binary (the how-to-install process is based on this method):

Install

Just include your package in your composer.json file:

Then run the composer command to install the dependency:

Alternatively you can just require the package to deal with all of it automatically:

Usage

Step 1. Include the composer autoload:

Step 2. Include the use statements for FPDF:

Step 3. Create a PDF file:

Scripts

FPDF allows to build and implement stripts to expand and enhance the experience working with the library.

This project is implementing the currently published Scripts in FPDF website as Design Pattern Decorators. Just set-up the main library as a Facade and then inject it in any Decorator constructor:

What is FPDF?

FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

FPDF has other advantages: high level functions. Here is a list of its main features:

FPDF requires no extension (except Zlib to enable compression and GD for GIF support). The latest version requires at least PHP 5.1, however this project is based on PHP 5.5 or newer versions.

Please browse www.fpdf.org for Tutorials and Documentation. The tutorials will give you a quick start. The complete online documentation is available OnLine and you can downlaod it in multiple languages. It is strongly advised to read the FAQ which lists the most common questions and issues.

A Script section is available and provides some useful extensions (such as bookmarks, rotations, tables, barcodes...).

ToDo


All versions of fpdf with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5,<7.2
ext-gd Version *
ext-zlib Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package david-garcia/fpdf contains the following files

Loading the files please wait ....