afiqiqmal/malaysiaholiday
A Laravel package for retrieving Malaysian public holidays. Look up holiday dates by state and year, with a simple API for querying and integrating holiday data into your PHP applications.
source key: Enables provenance-aware UX and support tooling (e.g., showing "data via calendarmalaysia.com" or logging source discrepancies) and supports auditability for compliance-sensitive customers.Adopt when:
sahaja/kecuali exceptions).source) for audit or support workflows.Look elsewhere or supplement when:
source field for fallbacks.To executives: This package gives us reliable Malaysian public and school holiday data — including state-level nuances — without building or maintaining a data pipeline ourselves. Release 4.2.1 closes the biggest risk we had (no data past 2024) by adding an automatic fallback source from 2025 onward, and it now tells us which source each date came from. Net effect: we can commit to Malaysian-market features on our roadmap with lower build cost and lower compliance risk, and we avoid a recurring engineering tax every holiday season.
To engineering: A Laravel/PHP package that returns Malaysian public holidays and school holidays, with state-level handling (sahaja/kecuali) and a new source key indicating where each entry came from. Primary data is publicholidays.com.my; from 2025 it falls back to calendarmalaysia.com where coverage is missing. Integrate behind our own abstraction layer, cache aggressively, persist the source field, and add a stale-data alert. Treat it as best-effort data, not a compliance system of record — validate payroll-critical dates against an authoritative source. No breaking changes noted in this release; effort to adopt is low, and it replaces maintenance work we would otherwise own.
How can I help you explore Laravel packages today?