Download the PHP package omalizadeh/laravel-jalali-calendar without Composer
On this page you can find all versions of the php package omalizadeh/laravel-jalali-calendar. 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 laravel-jalali-calendar
Laravel Jalali Calendar
This is a laravel package to get jalali date events and holidays by parsing time.ir website.
⭐ Star! if you used & liked this package.
Installation
Install package with composer:
Usage
Get a JalaliDate
object by calling fromGregorian
static method on JalaliCalendar
class. example:
Or you can get a collection of JalaliDate
objects by giving a gregorian period.
Then you can get different info from JalaliDate
object. supported methods:
Methods | Return type | Description |
---|---|---|
format() | string | Jalali date with given format |
isHoliday() | bool | Check jalali date is holiday |
events() | array | Get date's events |
License
- Laravel Jalali Calendar is open-sourced software licensed under the MIT license.
- This package is created based on Persiancalapi project.
All versions of laravel-jalali-calendar with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
ext-dom Version *
ext-json Version *
ext-libxml Version *
guzzlehttp/guzzle Version ^6.5.5|^7.0.1
illuminate/contracts Version ^7.0|^8.0|^9.0
illuminate/http Version ^7.0|^8.0|^9.0
illuminate/support Version ^7.0|^8.0|^9.0
morilog/jalali Version ^3.2
ext-dom Version *
ext-json Version *
ext-libxml Version *
guzzlehttp/guzzle Version ^6.5.5|^7.0.1
illuminate/contracts Version ^7.0|^8.0|^9.0
illuminate/http Version ^7.0|^8.0|^9.0
illuminate/support Version ^7.0|^8.0|^9.0
morilog/jalali Version ^3.2
The package omalizadeh/laravel-jalali-calendar contains the following files
Loading the files please wait ....