1. Go to this page and download the library: Download velliz/pte 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/ */
// HTML (default)
$pte->Output($custom, Pte::VIEW_HTML);
// JSON
$pte->Output(null, Pte::VIEW_JSON);
// JSON with numeric strings
$pte->Output(null, Pte::VIEW_JSON_NUMERIC);
// XML
$pte->Output(null, Pte::VIEW_XML);
// No caching, with master, with body
$pte = new Pte(false, true, true);
// With caching, with master, with body
$pte = new Pte(new PteCache(), true, true);
// Just body parsing, no master
$pte = new Pte(false, false, true);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.