PHP code example of kcs / lopdf
1. Go to this page and download the library: Download kcs/lopdf 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/ */
kcs / lopdf example snippets
sh
$ phpize
$ ./configure
$ make
$ make install
# in php.ini set extension=lopdf.so or:
$ php -dextension=path-to-project/target/release/lopdf.so <your php file>