Checks whether a certain date in Iran is an official holiday or not
composer require mndco/iranian-holidays
<?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));
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 )
The MIT License (MIT). Please see License File for more information.