1. Go to this page and download the library: Download buepro/typo3-auxlibs 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/ */
buepro / typo3-auxlibs example snippets
$hashids = new \Hashids\Hashids;
$handle = $hashids->encode(5, 5, 5);
$parsedown = new \Parsedown;
$htmlText = $parsedown->text($markdownText);
$rrule = new RRule('RRULE:FREQ=DAILY;UNTIL=19971224T000000Z;WKST=SU;BYDAY=MO,WE,FR;BYMONTH=1');
foreach ($rrule as $occurrence) {
echo $occurrence->format('r'),"\n";
}
$rset = new RSet(
"DTSTART;TZID=America/New_York:19970901T090000
RRULE:FREQ=DAILY;COUNT=3
EXRULE:FREQ=DAILY;INTERVAL=2;COUNT=1
EXDATE;TZID=America/New_York:19970903T090000
RDATE;TZID=America/New_York:19970904T090000"
);
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
@ . 'Libraries/hashids-hashids.phar/vendor/autoload.php';