davidoc26/flip5htmltopdf

There is no license information available for the latest version (v1.0.0) of this package.

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/davidoc26/flip5htmltopdf

v1.0.0 2022-02-15 14:47 UTC

This package is auto-updated.

Last update: 2025-09-20 15:39:12 UTC


README

Installation

git clone https://github.com/Davidoc26/flip5htmltopdf.git

Install dependencies with composer i

Usage

php application.php parse <url> [filename] [path]

Use -f to specify output PDF filename.

Use -r to specify an absolute path to the PDF output directory (default: ./output)

Using as package

First you need to install the package

composer require davidoc26/flip5htmltopdf

Then, when initializing the parser, pass a generator to it (you can also create your own generator)

$parser = new Parser(
    url: $url,
    generator: new PdfGenerator($outputPath, $outputFilename)
);
$parser->fetchBook();

Be careful! The pdf file creation process can reach memory_limit!