2017 © Pedro Peláez
 

library yasumi

Yasumi is an easy PHP Library for calculating national holidays.

image

azuyalabs/yasumi

Yasumi is an easy PHP Library for calculating national holidays.

  • Wednesday, June 27, 2018
  • by stelgenhof
  • Repository
  • 20 Watchers
  • 461 Stars
  • 153,513 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 68 Forks
  • 14 Open issues
  • 18 Versions
  • 23 % Grown

The README.md

Logo, (*1)

GitHub Release Total Downloads Coding Standard Static analysis Testing Software License, (*2)

Introduction

Yasumi (Japanese for 'Holiday'「休み」) is the easy PHP library that helps you retrieve the dates and names of holidays and other special celebrations from various countries/states. It is calculation and rule driven avoiding the need of a comprehensive database., (*3)

Many services exist that can provide holiday information, however are either not entirely free or only offer limited information. In addition, no exhaustive PHP library exists today covering a wide range of holidays and countries. PEAR's Date_Holidays library was a similar attempt, however it hasn't been updated for a long time., (*4)

Highlights

The goal of Yasumi is to be powerful while remaining lightweight, by utilizing PHP native classes wherever possible. Yasumi's calculation is provider-based (i.e. by country/state), making it easy to add new holiday providers that calculate holidays., (*5)

  • Pure PHP
  • Straightforward API
  • Framework-agnostic
  • Use of Providers to easily extend and expand new Holidays
  • Common Holiday Providers
  • Accounts for the date/time when holidays have been officially established and/or abolished
  • Filters enabling to easily select certain holiday types (Official, Observed, Bank, Seasonal or Other)
  • Global Translations
  • Time zone aware
  • Implements ArrayIterator to easily process a provider's holidays
  • Fully documented
  • Fully unit tested
  • Composer ready, PSR-12 and PSR-4 compliant

Documentation

Yasumi’s documentation is available on https://www.yasumi.dev. You will find all the necessary information how to install Yasumi and also recipes how you can use Yasumi in your project., (*6)

Blog

Checkout the blog section on documentation site regularly for latest updates. Keeping you informed about any news, releases, etc. in a handy blog post format!, (*7)

Contributing

Contributions are encouraged and welcome; I am always happy to get feedback or pull requests on GitHub :) Create Github Issues for bugs and new features and comment on the ones you are interested in., (*8)

If you enjoy what I am making, an extra cup of coffee is very much appreciated :). Your support helps me to put more time into Open-Source Software projects like this., (*9)

Buy Me A Coffee, (*10)

License

Yasumi is open-source software licensed under the MIT License (MIT). Please see LICENSE for more information., (*11)

The Versions

27/06 2018

dev-develop

dev-develop

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

08/06 2018

dev-Chile

dev-Chile

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

08/06 2018

v2.0.x-dev

2.0.9999999.9999999-dev

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

21/02 2018

dev-master

9999999-dev

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

21/02 2018

1.8.0

1.8.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

21/02 2018

1.8.x-dev

1.8.9999999.9999999-dev

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

05/01 2018

dev-phpstan

dev-phpstan

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

05/01 2018

dev-phpstan-code-fixes

dev-phpstan-code-fixes

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

11/12 2017

1.7.0

1.7.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

22/11 2017

dev-php7

dev-php7

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

07/02 2017

1.6.1

1.6.1.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

06/01 2017

1.6.0

1.6.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

25/11 2016

1.5.0

1.5.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

04/06 2016

1.4.0

1.4.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

calendar date time bank calculation holiday holidays celebration national

02/05 2016

1.3.0

1.3.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

php calendar date time calculation holiday celebration

04/04 2016

1.2.0

1.2.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

php calendar date time calculation holiday celebration

10/03 2016

1.1.0

1.1.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

php calendar date time calculation holiday celebration

21/04 2015

1.0.0

1.0.0.0

Yasumi is an easy PHP Library for calculating national holidays.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php calendar date time calculation holiday celebration