Download the PHP package alienproject/pdfreport without Composer

On this page you can find all versions of the php package alienproject/pdfreport. 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 pdfreport

PDFReport

A library that allows you to generate PDF reports from an XML template describing the document, with placeholders for data.

For general information about this project, visit: https://alienproject.org

Introduction

How the PDFReport library works

The library uses an XML template that describes the structure of the PDF document (for example, page size and orientation, objects to display: text, lines, rectangles, barcodes, graphics, etc.) and the data to print (via placeholders that are automatically replaced with the data).

PHP Code Example

For very simple reports, you can create a PHP report with just 5 lines of code, as the following example:

Code explanation:

Installation

Use "composer" to install the library. If Composer isn't installed in your development environment, this free tool can be downloaded from the official website.

Installing in a new project

Create a new folder that will contain all the files for your new PHP project. Open a command shell in this folder (the root of your PHP project) and run the command below.

A "vendor" folder will be created with all the project's dependencies/libraries. This folder will also contain the "autoload.php" file to include in your PHP project. (This is an autoloader that will allow you to use the PDFReport library without having to write any include lines. The classes will be loaded automatically before they are used.)

Two more files (composer.json, composer.lock) will also be created automatically in the root folder. The composer.json file will contain the configuration for the library loaded in the project. To upgrade to the latest version in the future, use the "composer install" command.

Installing into an existing project

In the root folder of your existing PHP project, check if the composer.json file exists. If so, open it with a text editor or your development environment (e.g., Visual Studio Code or PHPStorm). If the file doesn't exist, you can use the command described above (the one used for new projects). Make sure the file contains the following configuration lines:

Open a command shell and run the following command in the root of your PHP project, where the composer.json file is located. This command opens the composer.json file and installs or updates all libraries/packages/dependencies as specified in its configuration. In the case of the PDFReport library, the latest one published on https://packagist.org/ will be installed.

Test Installation

To verify that the library is working, you can create a test page with the following PHP code that will display a simple message. This code is a standard index.php page. If you use a framework like Laravel or Symfony you must add the test code in a controller and set the route that call it. Also add the XML template file (see below).

File: index.php

Create an XML file in the root folder with the following code:

File: hello.xml

Version History

Last version: 1.0.10 - 13 Aug. 2026

Ver. 1.0.10 - 13 Aug. 2026

Ver. 1.0.9 - 13 Jul. 2026

Ver. 1.0.8 - 01 Jul. 2026

Ver. 1.0.7 - 01 Jul. 2026

Ver. 1.0.6 - 26 Jun. 2026

Ver. 1.0.5 - 27 Nov. 2025

Ver. 1.0.4 - 15 Nov. 2025

Ver. 1.0.3 - 08 Oct. 2025

Ver. 1.0.2 - 04 Oct. 2025

Ver. 1.0.1 - Sep. 2025

Ver. 1.0.0 - Aug. 2025

Documentation and Interactive Testing

The complete online guide is available at: https://alienproject.org/help

Interactive Testing

By accessing the reserved area, you can interactively run the example reports presented on the home page. You can modify the XML template code to test various functionalities.

Access to the reserved area can be done quickly via:


For more information and examples, visit the main project website: https://alienproject.org

Last document update: 13 Aug. 2026


All versions of pdfreport with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
tecnickcom/tcpdf Version ^6.9
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 alienproject/pdfreport contains the following files

Loading the files please wait ...