mrofi/o2pdf

API to convert office files to PDF directly

Maintainers

Package info

github.com/mrofi/o2pdf

pkg:composer/mrofi/o2pdf

Statistics

Installs: 39

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1.1 2016-08-17 09:52 UTC

This package is auto-updated.

Last update: 2026-03-07 20:09:43 UTC


README

API to convert office files to PDF directly

How to

    composer require mrofi/o2pdf
    require 'vendor/autoload.php';

    $office = new O2Pdf\OfficeToPdf('absolute/url/to/office/file/online');
    $pdfUrl = $office->getPdfUrl();
    header('location: '.$pdfUrl);
    // or
    // var_dump($pdfUrl);