PHPackages                             koma/simple-hong-kong-holiday - 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. koma/simple-hong-kong-holiday

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

koma/simple-hong-kong-holiday
=============================

simple hong kong holiday for laravel

1.0(1y ago)09MITPHPPHP ^8.1

Since Nov 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/komaxd/simple_holiday)[ Packagist](https://packagist.org/packages/koma/simple-hong-kong-holiday)[ RSS](/packages/koma-simple-hong-kong-holiday/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Hong Kong Holiday in Laravel
============================

[](#hong-kong-holiday-in-laravel)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require koma/simple-hong-kong-holiday

```

You may publish and run the migrations:

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

#migrations
php artisan vendor:publish --tag="simple-holiday-migrations"
php artisan migrate

```

And run command to generate holidays.

You may create cron job or schedule every year.

```
php artisan fetch:holiday

```

Config
------

[](#config)

```
return [
    /*
     * You should define table name before migrate, default: holidays
     */
    'table_name' => env('HOLIDAY_TABLE_NAME', 'holidays'),

    /*
     * fetching gov url for holiday json url
     */

    'en_url' => env('HOLIDAY_EN_URL', 'https://www.1823.gov.hk/common/ical/en.json'),
    'tc_url' => env('HOLIDAY_TC_URL', 'https://www.1823.gov.hk/common/ical/tc.json'),
    'sc_url' => env('HOLIDAY_SC_URL', 'https://www.1823.gov.hk/common/ical/sc.json'),

    /*
     * model class, you can define your own holiday class
     */
    'model_class' => Koma\SimpleHongKongHoliday\app\Models\Holiday::class,
];

```

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/license/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f26dc7a00dc49018d53b6ae68ec22ce1864e1586d9eb689347b5c432d1b5925?d=identicon)[komaxd](/maintainers/komaxd)

---

Top Contributors

[![indzzkoma](https://avatars.githubusercontent.com/u/132335829?v=4)](https://github.com/indzzkoma "indzzkoma (5 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/koma-simple-hong-kong-holiday/health.svg)

```
[![Health](https://phpackages.com/badges/koma-simple-hong-kong-holiday/health.svg)](https://phpackages.com/packages/koma-simple-hong-kong-holiday)
```

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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