vault backup: 2025-11-26 15:12:40

This commit is contained in:
Vincent Verbruggen
2025-11-26 15:12:40 +01:00
parent 5d55c88efb
commit dbe8119f52
6 changed files with 107 additions and 9 deletions

View File

@@ -1,3 +1,22 @@
<https://github.com/spatie/holidays>
https://github.com/spatie/holidays
#Carbon #TimeKeeping
Calculate public holidays for any country. Provides a unified interface to determine non-working holidays without maintaining separate holiday databases.
## Features
- Multi-country support via ISO 3166-1 codes
- Check if a specific date is a holiday
- Holiday names with localization support
- Query holidays within date ranges
- Region-specific holidays (e.g., German states)
## Usage
```php
Holidays::for('be')->get(); // Get all Belgian holidays
Holidays::for('nl')->isHoliday('2024-01-01'); // Check if date is holiday
```
```bash
composer require spatie/holidays
```
#php #laravel #holidays #calendar #dates #scheduling #localization #spatie