matchHarakat
This is a small library built on PHP and its purpose is to verify the partial or complete matching of two text strings in terms of characters.
The main function used depends on another function present in the same file, which is necessary to match Arabic characters.
This is a pure PHP library that has a function to check whether or not two strings match completely/partially in terms of diacritics.
The function used depends on another function for compatibility with UTF-8 strings.
How to use the library? How do you use the library?
Simply within the file as follows:
Simply include it in your PHP script as follows:
require 'harakat_lib.php';
Then make sure that the two strings match as follows:
Then check the 2 strings matching as follows:
if( harkatMatching($first_string, $second_string) )
{
//do something
}