PHP code example of smart145 / wkhtmltopdf-amd64

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

    

smart145 / wkhtmltopdf-amd64 example snippets

 php
$path = \smart145\WKHTMLToPDF\WKHTMLToPDF::PATH;
 php
$realpath = realpath(\smart145\WKHTMLToPDF\WKHTMLToPDF::PATH);