PHP library

RTLY-Kit

A PHP library with date, number, validation, holiday and prayer time helpers for Persian and Arabic applications. It works with Carbon and Laravel.

On this page

What it does

  • Three calendars. Jalali, Hijri (Umm al-Qura) and Hebrew.
  • Iranian validators. National code, Sheba, bank card and mobile number.
  • Numbers. Format numbers and write them as words in Persian and Arabic.
  • Holidays and prayer times. Iranian holiday data and prayer time calculation.
  • Carbon and Laravel. Carbon macros, validation rules, a facade and an Eloquent cast.

Install

Bash
composer require tsi/rtly-kit

Guides

Feedback

Found a bug or have an idea? Tell me here. I read every message.

What do you want to send?

I use it only to answer this message.