PHP code example of geezify / geezify-php

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

    

geezify / geezify-php example snippets




eezify\Geezify;

$geez = Geezify::create();

echo $geez->toGeez(123) . PHP_EOL;        // ፻፳፫
echo $geez->toGeez(1234) . PHP_EOL;      // ፲፪፻፴፬
echo $geez->toGeez(1986) . PHP_EOL;     // ፲፱፻፹፮
echo $geez->toGeez(1000000) . PHP_EOL; // ፻፼

// or you can even do the reverse

echo $geez->toAscii('፻፳፫') . PHP_EOL;     // 123
echo $geez->toAscii('፲፪፻፴፬') . PHP_EOL;   // 1234
echo $geez->toAscii('፲፱፻፹፮') . PHP_EOL;  // 1986
echo $geez->toAscii('፻፼') . PHP_EOL;    // 1000000