gregoriol / business-days-france
Computes calendar business days/holidays in France
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gregoriol/business-days-france
Requires
- php: ^7.0
This package is auto-updated.
Last update: 2025-12-20 19:34:05 UTC
README
PHP 7.0+ classes to compute calendar business days/holidays in France
The project is devided in two classes:
- Holidays: which manages the holidays data provided by the french opendata
- Period: which computes statistics about a given period (number of days, holidays, open days, openable days, weekend days)
A demo.php file provides examples on how to use them.
The main use case is to get the number of open days ("jours ouvrés") for a give month.
The holidays data is based on: https://github.com/etalab/jours-feries-france-data