Skip to content

The goal is to have a printable PDF with customized calendar including german school holidays and/or public holidays

License

Notifications You must be signed in to change notification settings

lugark/CalendarGenerator

Repository files navigation

CalendarGenerator

Minimum PHP Version CodeCov Quality Gate Status Code Smells Bugs CI The goal is to have a printable PDF with customized calendar including german school holidays and/or public holidays

Dependencies

Installaion

composer install

Usage

Rendering the Calendar

To render a calender you need to provide at least a startdate:

bin/console calendar:generate 2020-01

Generated calendar

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

Calendar with different start and holidays

Calendar events

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

About

The goal is to have a printable PDF with customized calendar including german school holidays and/or public holidays

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages