khaled.alshamaa/ar-php
Ar-PHP is a PHP library for Arabic language processing: text shaping and normalization, transliteration, date/hijri handling, numbers-to-words, and other Arabic-specific utilities. Useful for Arabic web apps, reports, and localization.
Full integration with the open-source version of the Arabic Spell Checker (ASC https://arabicspellchecker.com/open-source.html).
Implement a lazy-loading mechanism that defers reading large data files until they are actually needed, improving average performance by 40% ± 5%.
Add the new "arDialect" method for Arabic dialect identification (i.e., Egyptian, Levantine, Maghrebi, and Peninsular) of the text (e.g., comments, reviews, etc.).
Add an Arabic version of the PHP similar_text() function, implemented using the Needleman-Wunsch algorithm with weighted scoring matrices and a non-linear gap penalty.
Add Urdu characters support to the utf8Glyphs() function.
Expand character glyphs support in the utf8Glyphs() function to include all single letter variants listed in the Arabic Presentation Forms-A needed for Ottoman, Persian, Urdu, Sindhi, and Central Asian languages.
Various minor fixes and improvements, see related pull requests and closed issues for details.
How can I help you explore Laravel packages today?