Download the PHP package nimaebrazi/persian-util without Composer
On this page you can find all versions of the php package nimaebrazi/persian-util. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package persian-util
PersianUtil
Persian util is simple PHP lib for persian developers.
Extend
This library extend from:
install via composer
Run:
If you need alias in laravel you can include it in :
| Method Example | output | Description | |
|---|---|---|---|
| ۹۵ | Integer number | ||
| ۱۲۵٫۳۶ | Double number | ||
| ۱۲۵.۳۶ | Double number with change float symbol | ||
| - | - | - | - |
| 95 | Integer or String number | ||
| 125.36 | Double or String number | ||
| - | - | - | - |
| 2 | Return number of Jalali day | ||
| 10 | Return number of Jalali month | ||
| 1395 | Return number of Jalali year | ||
| 1395/10/2 | Return string of Jalali day | ||
| - | - | - | - |
| دو | Return string of Jalali day | ||
| اردیبهشت | Return string of Jalali month | ||
| هزاروسیصدو نودوپنج | Return string of Jalali year | ||
| زمستان | Return string of Jalali season of month | ||
| پانزده اردیبهشت هزار و سیصد و نود و پنج | Return string of Jalali date | ||
| - | - | - | - |
| ('today is: 1395/12/1') false | Return bool | ||
| ('today is: 1395/12/1') true | Return bool | ||
| ('today is: 1395/12/1') true | Return bool | ||
| - | - | - | - |
| 1486984213 | Return (string) jalali timestamp | ||
| 2017-01-25 14:40:13 | Return string of gregorian date with Asia/Tehran timezone | ||
| 1395/11/6 14:40:13 | Return (int) jalali time stamp |
All versions of persian-util with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package nimaebrazi/persian-util contains the following files
Loading the files please wait ...