PHPackages                             suchmaske/rasmiphize - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. suchmaske/rasmiphize

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

suchmaske/rasmiphize
====================

Convert arabic strings to their rasm (PHP)

1.0.2(5y ago)04LGPL-3.0-onlyPHPPHP &gt;=5.6

Since Sep 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/suchmaske/rasmiphize)[ Packagist](https://packagist.org/packages/suchmaske/rasmiphize)[ RSS](/packages/suchmaske-rasmiphize/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

rasmiphize for PHP
==================

[](#rasmiphize-for-php)

Convert arabic strings to their rasm. This includes:

- Removing diacritics
- Removing vocalization marks

**Text with diacritics and vocalization marks etc**[![First sura of the Qur'an with diacritics and vocalization marks etc](assets/quranic_text_with_diacritics.png)](assets/quranic_text_with_diacritics.png)

**Text without diacritics (rasm)**[![First sura of the Qur'an rasmified](assets/quranic_text_rasmifized.png)](assets/quranic_text_rasmifized.png)

rasmiphize vs. rasmify
----------------------

[](#rasmiphize-vs-rasmify)

`rasmifize` is the successor to [rasmify](https://github.com/telota/rasmify/). I developed `rasmify` with the team of Corpus Coranicum at the Berlin-Brandenburg Academy of Sciences and Humanities.

Since I want to maintain this *rasm* library, I have decided to publish a successor under my own name.

Install
-------

[](#install)

```
composer require suchmaske/rasmiphize

```

Try it
------

[](#try-it)

You can test it here: [rasmifize demo](https://suchmaske.github.io/rasmifize/demo/)

How to use
----------

[](#how-to-use)

### OOP

[](#oop)

```
// Imports
use Rasmiphize\Rasmiphize;
use Rasmiphize\ReplacementRules;

// Code
$arabicString = 'الفَاتِحَة';

$replacementRules = new ReplacementRules();
$rasmiphize = new Rasmiphize($replacementRules);
$rasmiphize->toRasm($arabicString); // الڡاٮحه
```

### Static

[](#static)

```
// Imports
use Rasmiphize\Rasmiphize;

// Code
$arabicString = 'الفَاتِحَة';
Rasmiphize::rasmiphize($arabicString); // الڡاٮحه
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~64 days

Total

3

Last Release

1947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22bf93407f1d9547b4bcd3992abb8ca8765669b4cabe2b34170f71aa8f517b8c?d=identicon)[suchmaske](/maintainers/suchmaske)

---

Top Contributors

[![suchmaske](https://avatars.githubusercontent.com/u/4989253?v=4)](https://github.com/suchmaske "suchmaske (7 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/suchmaske-rasmiphize/health.svg)

```
[![Health](https://phpackages.com/badges/suchmaske-rasmiphize/health.svg)](https://phpackages.com/packages/suchmaske-rasmiphize)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
