Quick installation
In a composer-based TYPO3 installation you can install the extension EXT:rrp_t3toon via composer:
composer require rrp/t3-toon
Requirements
- TYPO3 CMS 12.4.0 – 14.9.99
- PHP 8.1 or higher
Update the database scheme
Open your TYPO3 backend with system maintainer permissions.
In the module menu to the left navigate to Admin Tools > Maintenance, then click on Analyze database and create all.
Clear all caches
In the same module Admin Tools > Maintenance you can also conveniently clear all caches by clicking the button Flush cache.
Verify installation
After installation, you can verify that the extension is loaded by checking the extension manager or by using the service in your code:
Instance API (recommended in TYPO3):
use RRP\T3Toon\Service\Toon;
use TYPO3\CMS\Core\Utility\GeneralUtility;
$toon = GeneralUtility::makeInstance(Toon::class);
$result = $toon->convert(['test' => 'value']);
echo $result; // Should output: test: value
Static API (convenience):
use RRP\T3Toon\Service\Toon;
$result = Toon::convertStatic(['test' => 'value']);
echo $result; // test: value
Backend module: In the TYPO3 backend, go to Tools > TOON Playground to encode and decode TOON in the browser.