PHPackages                             indigophp/fuel-pdf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. indigophp/fuel-pdf

AbandonedArchivedFuel-package[PDF &amp; Document Generation](/categories/documents)

indigophp/fuel-pdf
==================

Fuel PDF package for dfferent PDF libraries

147PHP

Since Jan 15Pushed 12y ago1 watchersCompare

[ Source](https://github.com/indigophp-archive/fuel-pdf)[ Packagist](https://packagist.org/packages/indigophp/fuel-pdf)[ RSS](/packages/indigophp-fuel-pdf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Fuel PDF package
================

[](#fuel-pdf-package)

**Fuel wrapper for [Indigo PDF](https://github.com/indigophp/pdf)**

Install
-------

[](#install)

Via Composer

```
{
    "require": {
        "indigophp/fuel-pdf": "dev-master"
    }
}
```

Configuration
-------------

[](#configuration)

```
return array(
    'instances' => array(
        'default' => function () {
            $options = array(
                'orientation' => 'P',
            );

            $config = array(
                'a_meta_charset'  => 'UTF-8',
                'a_meta_dir'      => 'ltr',
                'a_meta_language' => 'en',
                'w_page'          => 'page',
            );

            return new Indigo\Pdf\Adapter\TcpdfAdapter($options, $config);
        },
        'advanced' => function () {
            $options = array(
                'orientation' => 'P',
            );

            $config = array(
                'bin' => '/usr/bin/wkhtmltopdf',
                'tmp' => sys_get_temp_dir(),
            );

            return new Indigo\Pdf\Adapter\WkhtmltopdfAdapter($options, $config);
        }
    ),
    'default' => 'default',
);
```

Usage
-----

[](#usage)

```
$pdf = \Pdf::forge('default');

// Later in your code
$pdf = \Pdf::instance('default');
```

Advanced usage
--------------

[](#advanced-usage)

```
$options = array(
    'orientation' => 'P',
);

$config = array(
    'bin' => '/usr/bin/wkhtmltopdf',
    'tmp' => sys_get_temp_dir(),
);

$instance = Indigo\Pdf\Adapter\Wkhtmltopdf($options, $default);

$pdf = \Pdf::forge('non_existent', $instance);

// Later in your code
$pdf = \Pdf::instance('non_existent');
```

Credits
-------

[](#credits)

- [Márk Sági-Kazár](https://github.com/sagikazarmark)
- [All Contributors](https://github.com/indigophp/pdf/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/indigophp/pdf/blob/develop/LICENSE) for more information.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/1585b5a08e138e348f5b646231d0f16cb2eae06501fb9462bbc97a794d4de84a?d=identicon)[TamasBarta](/maintainers/TamasBarta)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (3 commits)")

### Embed Badge

![Health badge](/badges/indigophp-fuel-pdf/health.svg)

```
[![Health](https://phpackages.com/badges/indigophp-fuel-pdf/health.svg)](https://phpackages.com/packages/indigophp-fuel-pdf)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.2k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
