/home/techb158/ileadtechnology.com/SSM/vendor/phpoffice/phpspreadsheet/samples
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/phpoffice/phpspreadsheet/samples/index.php (1667B)
version_compare(PHP_VERSION, '7.1.0', '>='),
'PHP extension XML' => extension_loaded('xml'),
'PHP extension xmlwriter' => extension_loaded('xmlwriter'),
'PHP extension mbstring' => extension_loaded('mbstring'),
'PHP extension ZipArchive' => extension_loaded('zip'),
'PHP extension GD (optional)' => extension_loaded('gd'),
'PHP extension dom (optional)' => extension_loaded('dom'),
];
if (!$helper->isCli()) {
?>
Welcome to PHPSpreadsheet, a library written in pure PHP and providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like Excel and LibreOffice Calc.
Fork us on Github!
Read the Docs
Requirement check';
echo '
';
foreach ($requirements as $label => $result) {
$status = $result ? 'passed' : 'failed';
echo "- {$label} ... {$status}
";
}
echo '
';
} else {
echo 'Requirement check:' . PHP_EOL;
foreach ($requirements as $label => $result) {
$status = $result ? '32m passed' : '31m failed';
echo "{$label} ... \033[{$status}\033[0m" . PHP_EOL;
}
}