PHP code example of oh240 / osushi

1. Go to this page and download the library: Download oh240/osushi 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/ */

    

oh240 / osushi example snippets




i = new\Osushi\Osushi();

print $sushi->osushi("お寿司すしすしまぐろ".PHP_EOL);

$sushi->search_word [] = 'まぐろ';

print $sushi->osushi("お寿司すしすしまぐろ");