The goal is to have a printable PDF with customized calendar including german school holidays and/or public holidays
- PHP ^8.2
- Symfony 7.1
- "Feiertage" can be fetched from https://deutsche-feiertage-api.de/
- "Schulferien" can be fetched from mehr-schulferien.de
- lugark/calendar-pdf-generator to render the calendar
composer install
To render a calender you need to provide at least a startdate:
bin/console calendar:generate 2020-01
If you want to render holidays like german bank holidays or school vacation you can provide it with either --publicholidays or --schoolholidays. Both require the federal country to be specified (as those dates differ in germany)
bin/console calendar:generate --publicholidays BY 2020-01
To also render holidays you can fetch the dates for public holidays from "Deutsche Feiertage API" https://deutsche-feiertage-api.de
bin/console calendar:fetch:holidays --year 2021 public
To fetch the dates for german school vacations from mehr-schulferien.de
bin/console calendar:fetch:holidays --year 2021 school

