PHPackages                             honortaker/laravel-holidays-de - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. honortaker/laravel-holidays-de

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

honortaker/laravel-holidays-de
==============================

Import german holidays into your laravel application

v1.0.0(1y ago)041MITPHPPHP ^8.2

Since Jan 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/honortaker/laravel-holidays-de)[ Packagist](https://packagist.org/packages/honortaker/laravel-holidays-de)[ RSS](/packages/honortaker-laravel-holidays-de/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

honortaker/laravel-holidays-de
==============================

[](#honortakerlaravel-holidays-de)

This package provides tools to import german holidays into your laravel application using [api-feiertage.de](https://www.api-feiertage.de) API.

Getting Started
---------------

[](#getting-started)

1. Run `composer require honortaker/laravel-holidays-de` to install the package
2. Run `php artisan migrate` to apply the [database scheme](#database-scheme)
3. Run `php artisan holidays:import` to [import holidays](#import-holidays) into the database
4. [Query holidays](#query-holidays) for your needs by using `Holiday::query()`

### Database Scheme

[](#database-scheme)

To get started using german holidays in your application, you need to run the `artisan migrate` command. This package delivers a builtin [migration](./database/migrations/2025_01_25_create_holidays_table.php) that creates a table which will carry the information about the holidays.

> The package allows you to set an alternative database table name for the model by changing values in the [configuration file](#configuration).

### Import Holidays

[](#import-holidays)

After migrating your database, you can go ahead adn import the holiday information from the api using the [`HolidaysImportCommand`](./src/Console/Commands/HolidaysImportCommand.php):

```
php artisan holidays:import
```

By running the command, the holidays for the **current year** will be imported into the database.

Optionally you can pass in a specific year into the command:

```
php artisan holidays:import 2025
```

### Query Holidays

[](#query-holidays)

When you filled your database using the artisan command above, you are ready to query the data for your needs by using the [`Holiday`](./src/Models/Holiday.php) model:

```
use Honortaker\LaravelHolidaysDe\Models\Holiday;

$holidays = Holiday::all();
```

### Configuration

[](#configuration)

The package delivers a builtin configuration file which can also be published to overwrite values:

```
php artisan vendor:publish --tag="holiday-config"
```

---

#### Configuration: `holidays-de.holidays_table_name`

[](#configuration-holidays-deholidays_table_name)

To prevent collisions with your application tables, you can decide how the table storing the holiday information should be named.

By default, it is named `holidays`.

---

#### Configuration: `holidays-de.api_url`

[](#configuration-holidays-deapi_url)

The url of the API is also configurable. This config should not be changed because the package expects the response data to be in a specific scheme. However, if the API will move to another domain or change the url in another way, the sourcecode does not need to be touched.

By default, it is set to `https://get.api-feiertage.de`.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance42

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

472d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/470c1ff8f7ee1d222164203221d92cf661dc8da300ed620581c76e8394b33834?d=identicon)[honortaker](/maintainers/honortaker)

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/honortaker-laravel-holidays-de/health.svg)

```
[![Health](https://phpackages.com/badges/honortaker-laravel-holidays-de/health.svg)](https://phpackages.com/packages/honortaker-laravel-holidays-de)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
