mndco / iranian-holidays
Investigating the closure of a special day in Iran
Installs: 2 112
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- geniusts/hijri-dates: ^1.1
- morilog/jalali: ^3.1
Requires (Dev)
- davincho/tabulapdf-php-wrapper: ^0.1.3
- phpunit/phpunit: ^10.2
This package is not auto-updated.
Last update: 2025-03-07 05:28:07 UTC
README
Checks whether a certain date in Iran is an official holiday or not
installation
composer require mndco/iranian-holidays
usage
<?php
include "vendor/autoload.php";
use MNDCo\IranianHoliday\IranianHoliday;
$holiday = new IranianHoliday();
$date = "1399-07-26";
if($holiday->checkIsHoliday($date))
var_dump($holiday->getHolidayTitle($date));
Credits
The source of information of this package is the website of the Calendar Center of the Institute of Geophysics, University of Tehran ( Calendar.ut.ac.ir )
License
The MIT License (MIT). Please see License File for more information.