mndco/iranian-holidays

Investigating the closure of a special day in Iran

Maintainers

Package info

github.com/mndco/iranian-holidays

pkg:composer/mndco/iranian-holidays

Statistics

Installs: 2 929

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 1

1.1402 2023-07-11 22:37 UTC

This package is not auto-updated.

Last update: 2026-03-20 10:13:08 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.