PHP code example of oleg-andreyev / wkhtmltopdf-osx

1. Go to this page and download the library: Download oleg-andreyev/wkhtmltopdf-osx 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/ */

    

oleg-andreyev / wkhtmltopdf-osx example snippets

 php
$path = \OAndreyev\WKHTMLToPDF\WKHTMLToPDF::PATH_AMD64;
 php
$realpath = realpath(\OAndreyev\WKHTMLToPDF\WKHTMLToPDF::PATH_AMD64);