PHP code example of scragg0x / omniconv-php

1. Go to this page and download the library: Download scragg0x/omniconv-php 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/ */

    

scragg0x / omniconv-php example snippets


$omniconv = new Omniconv\Client($apiKey);

$omniconv->conv('pdf', '/path/to/infile.odt', '/path/to/outfile.pdf');