PHP code example of zepi / unicode

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

    

zepi / unicode example snippets




epi\Unicode\UnicodeIndex;

$unicodeIndex = new UnicodeIndex();

// Get all blocks
var_dump($unicodeIndex->getIndex());

// Get a block by key
var_dump($unicodeIndex->getBlockByKey('BasicLatin'));



epi\Unicode\Block\BasicLatinBlock;

$basicLatinBlock = new BasicLatinBlock();

var_dump($basicLatinBlock);