PHP code example of webservco / icarsoft
1. Go to this page and download the library: Download webservco/icarsoft 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/ */
webservco / icarsoft example snippets
$processor = new \WebServCo\ICarsoft\Processors\Data\Processor($filePath);
try {
$processor->run();
print_r($processor->getHeader());
print_r($processor->getTitle());
print_r($processor->getInfo());
print_r($processor->getFrames());
} catch (\Throwable$e) {
echo $e->getMessage();
}
$processor = new \WebServCo\ICarsoft\Processors\Info\Processor($filePath);
try {
$processor->run();
print_r($processor->getHeader());
print_r($processor->getTitle());
print_r($processor->getInfo());
print_r($processor->getContent());
} catch (\Throwable $e) {
echo $e->getMessage();
}