PHP code example of szonov / libreoffice-converter
1. Go to this page and download the library: Download szonov/libreoffice-converter library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
szonov / libreoffice-converter example snippets
use SZonov\LibreOfficeConverter\Converter;
$converter = new Converter();
$converter->from('./my-file.odt')->to('./presentation.pdf')->convert();