2017 © Pedro Peláez
 

library holiday

A library to calculate holidays

image

mayflower/holiday

A library to calculate holidays

  • Tuesday, February 20, 2018
  • by dsp
  • Repository
  • 52 Watchers
  • 20 Stars
  • 61,047 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 13 Forks
  • 2 Open issues
  • 7 Versions
  • 9 % Grown

The README.md

libholiday

Build Status, (*1)

A library to calculate holidays., (*2)

Supported countries and states, (*3)

  • America
  • Germany and all constituent states
  • Sweden
  • Netherlands

Installation, (*4)

composer require mayflower/holiday, (*5)

Usage, (*6)

<?php

require_once __DIR__ . '/vendor/autoload.php';

$holidays = new Holiday\Germany();

// Returns array of Holiday objects, if any between the given dates.
$holidays->between(
     new \DateTime('01.01.2018'),
     new \DateTime('31.12.2018')
);

// isHoliday calls ->between with the given date to both parameters.
$holidays->isHoliday(new \DateTime('01.05.2018'))

The Versions

20/02 2018

dev-master

9999999-dev

A library to calculate holidays

  Sources   Download

LGPL-3.0+

The Requires

  • php >= 5.4
  • ext-calendar *

 

The Development Requires

by David Soria Parra

03/05 2016

0.7.0

0.7.0.0

A library to calculate holidays

  Sources   Download

LGPL-3.0+

The Requires

  • php >= 5.4

 

The Development Requires

by David Soria Parra

05/07 2015

0.6.2

0.6.2.0

A library to calculate holidays

  Sources   Download

LGPL-3.0+

The Requires

  • php >= 5.4

 

The Development Requires

by David Soria Parra

05/08 2014

0.6.1

0.6.1.0

A library to calculate holidays

  Sources   Download

LGPL-3.0+

The Development Requires

by David Soria Parra

22/05 2014

0.6.0

0.6.0.0

A library to calculate holidays

  Sources   Download

LGPL-3.0+

The Development Requires

by David Soria Parra

21/05 2013

0.5.1

0.5.1.0

A library to calculate holidays

  Sources   Download

LGPL-3.0+

The Development Requires

by David Soria Parra

27/11 2012

0.5.0

0.5.0.0

  Sources   Download

LGPL-3

The Development Requires