still-code/ar-php-laravel
Laravel wrapper for the Ar-PHP Arabic language library, offering Arabic text shaping, date and number formatting, Hijri dates, transliteration, and other Arabic utilities via a simple service provider and facade. Ideal for Arabic-first Laravel apps needing reliable localization.
Adopt when:
Look elsewhere / defer when:
intl/ICU already covers your narrow need (e.g. simple number or date formatting) and Arabic-specific text handling is not required.For executives: We can support Arabic-language customers — correct search behavior, Hijri dates, Arabic number formatting, and readable URLs — by adopting a small, focused Laravel package instead of funding custom R&D. Cost is one Composer dependency and minimal integration effort. The new 3.0.0 release is a maintenance release: it keeps us current with the newest Laravel version and modernizes the project's build tooling. There is no new feature to market, but it removes a blocker if our platform upgrade is on the roadmap.
For engineering: It's a Laravel service-provider/facade wrapper over the established Ar-PHP library — you get Arabic text normalization, Hijri conversion, numeral formatting, and transliteration behind a familiar container-bound API rather than hand-rolled regexes. 3.0.0 adds Laravel 13 support and requires PHP ^8.2; the remainder of the changelog is Dependabot/CI hygiene. Because it is a major version, verify the package's Laravel/PHP constraints against our matrix before upgrading, and pin the version. Risk is concentrated upstream: audit Ar-PHP's maintenance status and pin both packages; wrap calls behind our own adapter so a future swap is a one-file change. Recommended sequencing: spike the upgrade in a branch, confirm the supported-version matrix, then roll it in with the Laravel upgrade rather than as a standalone change.
How can I help you explore Laravel packages today?