

GitHub - azuyalabs/yasumi: Yasumi is an easy PHP Library for calculating nationa...
source link: https://github.com/azuyalabs/yasumi
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
!!Update!! A new blog section has been added to the documentation site. Keeping you informed about any news, releases, etc. in a handy blog post format!
Yasumi (Japanese for 'Holiday'「休み」) is an easy PHP library to help you calculate the dates and names of holidays and other special celebrations from various countries/states. Many services exist on the internet that provide holidays, however are either not free or offer only limited information. In addition, no complete PHP library seems to exist today that covers a wide range of holidays and countries, except maybe PEAR's Date_Holidays which unfortunately hasn't been updated for a long time.
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) so it's easy to add new holiday providers that calculate holidays. The methods of Yasumi can be used to get a holiday's date and name in various languages.
Documentation
Yasumi’s documentation is available on https://azuyalabs.github.io/yasumi/. You will find all the necessary information how to install Yasumi and also recipes how you can use Yasumi in your project.
License
Yasumi is open-sourced software licensed under the MIT License (MIT). Please see LICENSE for more information.
Recommend
-
51
An easy PHP Library for calculating national holidays
-
30
Like many of my blog posts, this post is inspired by some work I was doing with a customer who had a requirement to calculate quartiles of a ranked set of d...
-
29
HyperLEDA is a service which provides a database and collection of tools to study the physics of galaxies and cosmology. The project began in 1983 and is currently maint...
-
23
Pi in the sky: Calculating a record-breaking 31.4 trillion digi...
-
52
What is the expected value of a dice roll until seeing all 6 numbers? A mathematical and programmatical explanation.
-
32
20 September 2019 How can we determine the impact of each entry on a zip file’s size? It seems like a trivial problem, but things quickly don’t add up. There’s three built-in ways to read information about the contents of zi...
-
44
The easy PHP Library for calculating holidays Keep your <global> application in sync with holiday dates - Forever
-
9
Calculating the Pearson correlation coefficient using R and Ruby January 21, 2009 In a previous article I talked about using the GNU...
-
6
DiscountsCalculator Helper library for calculating discounts in a application. Installation This library are developed to PHP 8.1, use Enum so it's not possible using in previously versions, if you like you can put a PR to...
-
3
Securing the digital future: Reviewing the Biden-Harris administration's National Cybersecurity StrategyWritten by:
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK