telota / rasmify
Reduce Arabic strings to their rasm, i.e. remove vocalization and other diacritics
Installs: 563
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 16
Forks: 3
Open Issues: 0
pkg:composer/telota/rasmify
Requires (Dev)
- phpspec/phpspec: ^3.0
This package is not auto-updated.
Last update: 2025-10-26 09:09:19 UTC
README
Reduce arabic text to its rasm, i.e. remove vocalization marks, diacritics so you only are left with a basic consonant skeleton.
For example, the first verse of the Qur'an as found on corpuscoranicum.de:
Compare the following examples:
Text without diacritics (rasmified)

Try it
Check out the demo here
Installation
Require this package using Composer. Run the following command in the terminal:
composer require "telota/rasmify":"0.1.*"
Usage
To convert an arabic string to its rasm, use the following code:
use Telota\Rasmify;
$rasmified = Rasmify::rasmify($arabicString);
