mlb0925 / unoconv
An Object Oriented library which allow easy to use file conversion with Unoconv.
dev-main
2021-11-13 06:57 UTC
Requires
- alchemy/binary-driver: ^5.2
- evenement/evenement: ^3.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-13 14:04:16 UTC
README
An Object Oriented library which allow easy to use file conversion with Unoconv.
composer require mlb0925/unoconv
<?php
include "vendor/autoload.php";
$unoconv = mlb0925\Unoconv\Unoconv::create(array(
'timeout' => 42,
'unoconv.binaries' => '/usr/bin/unoconv',
));
$a = $unoconv->transcode('document.docx', 'pdf', 'document.pdf');