Download the PHP package pizar/carbon-it-holidays without Composer
On this page you can find all versions of the php package pizar/carbon-it-holidays. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package carbon-it-holidays
Carbon Support for IT Holidays
This extends Carbon and adds support for several IT holidays.
I start from this repo: https://github.com/geoffreyrose/us-holidays and i customize for italian calendar
Supported Holidays
- New Years Day
- Epiphany
- Easter
- Easter Monday
- Liberation Day
- Labour Day
- Republic day
- Assumption of Mary
- All Saints' Day
- Immaculate Conception Day
- Christmas Day
- St. Stephen's Day
Requirements
- Carbon
- PHP 8.1+
Usage
With Composer
Without Composer
Check if date is holiday. Returns boolean
Get name if date is holiday. Returns string
or false
Get date for a specific holiday. Returns string
see https://github.com/geoffreyrose/us-holidays for other examples too
All versions of carbon-it-holidays with dependencies
PHP Build Version
Package Version
Requires
nesbot/carbon Version
^3.0@dev
The package pizar/carbon-it-holidays contains the following files
Loading the files please wait ....