PHPackages                             ponyfleisch/fpdf-stream - 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. ponyfleisch/fpdf-stream

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ponyfleisch/fpdf-stream
=======================

FPDF Version that supports streaming directly to the browser

v0.0.4(12y ago)128MIT LicensePHPPHP &gt;=5.3.0

Since Mar 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ponyfleisch/fpdf-stream)[ Packagist](https://packagist.org/packages/ponyfleisch/fpdf-stream)[ Docs](http://github.com/ponyfleisch/fpdf-stream)[ RSS](/packages/ponyfleisch-fpdf-stream/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

fpdf-stream
===========

[](#fpdf-stream)

This is a modified version of fpdf (1.7) which outputs pdf generation directly to the browser as it is generated page by page.

Still pre-alpha.

Usage
=====

[](#usage)

```
header('Content-Type: application/pdf');
header('Content-Disposition: inline; filename="schnitzel.pdf"');

$pdf = new Pdf();

$pdf->startOutput();

for($i=0; $i < $pages; $i++){
    $pdf->AddPage();
    ob_flush();
    $pdf->SetFont('Arial','B',16);
    for($j=0; $j < 500; $j++){
        $pdf->Cell(10, 10,'Hello World! '.$j);
    }
}

$pdf->endOutput();

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

4442d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/af63e68540c6e91b8aa0bc49b93574294ebdcf23319a61cd175f3952c3e0f690?d=identicon)[ponyfleisch](/maintainers/ponyfleisch)

---

Top Contributors

[![ponyfleisch](https://avatars.githubusercontent.com/u/1944026?v=4)](https://github.com/ponyfleisch "ponyfleisch (8 commits)")

---

Tags

pdf

### Embed Badge

![Health badge](/badges/ponyfleisch-fpdf-stream/health.svg)

```
[![Health](https://phpackages.com/badges/ponyfleisch-fpdf-stream/health.svg)](https://phpackages.com/packages/ponyfleisch-fpdf-stream)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M273](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M472](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M490](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M56](/packages/knplabs-knp-snappy)[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)

PHPackages © 2026

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