PHP code example of amiad / gematria
1. Go to this page and download the library: Download amiad/gematria 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/ */
amiad / gematria example snippets
$text = 'אבג';
$gematria = new \Gematria\Gematria($text);
echo $gematria->get(); // print 6
// more option
echo $gematria;