PHP code example of cosray / legacy-richtext-converter
1. Go to this page and download the library: Download cosray/legacy-richtext-converter 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/ */
cosray / legacy-richtext-converter example snippets
use Cosray\LegacyRichtext\Converter;
$documents = new Converter()->convert([
'intro:de' => '<p>Alter <strong>Inhalt</strong></p>',
]);