fmihel/pdf

pdf lib

Maintainers

Details

github.com/fmihel/pdf

Source

Issues

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/fmihel/pdf

v0.0.2 2025-10-30 13:19 UTC

This package is auto-updated.

Last update: 2025-10-30 13:19:51 UTC


README

short pdf utilities

install

$ composer require fmihel/pdf

example

<?php

use fmihel\pdf\drivers\GSDriver;
use fmihel\pdf\PDF;

require_once __DIR__ . '/vendor/autoload.php';

$file = 'D:/work/fmihel/report/report/examples/media/doc4.pdf';

$pdf = new PDF(new GSDriver());
$pdf->convert($file, __DIR__ . '/tmp', 'jpg', '$name_$i', ['dpi' => 150]);

Api (PDF class)

func notes
countPage($filename) return count page in pdf file
conver($filename,$to_path,$format) return count page in pdf file