PHPackages                             helturkey/bidi - 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. helturkey/bidi

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

helturkey/bidi
==============

020PHP

Since Sep 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/helturkey/bidi)[ Packagist](https://packagist.org/packages/helturkey/bidi)[ RSS](/packages/helturkey-bidi/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Arbic bidirection php package
=============================

[](#arbic-bidirection-php-package)

Arabic bidirection is the best and most accurate php package handling Arabic texts, now you can write text on images easy.

Installation
------------

[](#installation)

Use the php package manager [composer](https://getcomposer.org/) to install.

```
composer req helturkey/bidi
```

Usage
-----

[](#usage)

```
use Hussein\Bidirection\ArabicUtf8;

# returns 'text'

public static function mb_wordwrap(string $string, int $width = 75, $break = "\n", bool $cut = false): string
{
      ........
}

$wrapped = ArabicUtf8::mb_wordwrap($text, $max_chars);

# convert method accepts array or string to convert and returns array or string as passed.

public static function convert(array|string $text, $forcertl = false): array|string
{
      ........
}

$converted = ArabicUtf8::convert($wrapped);
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a7658e6b20d82e76e6b4ae5da38a4dd759f2d3053993a5180617171c777f399?d=identicon)[helturkey](/maintainers/helturkey)

---

Top Contributors

[![helturkey](https://avatars.githubusercontent.com/u/13208801?v=4)](https://github.com/helturkey "helturkey (33 commits)")

### Embed Badge

![Health badge](/badges/helturkey-bidi/health.svg)

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

###  Alternatives

[ozdemir/datatables

Simplify your Datatables server-side processing effortlessly using our lightning-fast PHP library, streamlining your workflow seamlessly.

273158.4k](/packages/ozdemir-datatables)[that0n3guy/transliteration

Transliteration provides one-way string transliteration (romanization) and cleans text by replacing unwanted characters.

1296.5k4](/packages/that0n3guy-transliteration)

PHPackages © 2026

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