Skip to content

Checks whether a certain date in Iran is an official holiday or not

License

Notifications You must be signed in to change notification settings

mndco/iranian-holidays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iranian-holidays

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.

About

Checks whether a certain date in Iran is an official holiday or not

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages