PHP code example of wijourdil / php-simple-furiganizer
1. Go to this page and download the library: Download wijourdil/php-simple-furiganizer 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/ */
wijourdil / php-simple-furiganizer example snippets
use Wijourdil\PhpSimpleFuriganizer\Furiganizer;
$furiganizer = new Furiganizer('雨の日', 'あめのひ');
echo "Output in text is " . $furiganizer->toBrackets();
echo "Output in HTML is " . $furiganizer->toHtml();
bash
composer