PHPackages                             holiday-morroco/holiday-package - 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. holiday-morroco/holiday-package

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

holiday-morroco/holiday-package
===============================

A PHP package to check Moroccan holidays

080PHP

Since Apr 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Faizarabhi/holiday-morocco)[ Packagist](https://packagist.org/packages/holiday-morroco/holiday-package)[ RSS](/packages/holiday-morroco-holiday-package/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Moroccan Holidays Package
=========================

[](#moroccan-holidays-package)

This PHP package provides functionality to check if a given date is a holiday in Morocco.

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

[](#installation)

You can install this package via Composer. Run the following command in your terminal:

```
composer require vendor/moroccan-holidays
```

\#Usage

To check if today is a holiday, you can use the HolidayChecker class provided by this package. Here's an example:

```
require 'vendor/autoload.php';

use Vendor\MoroccanHolidays\HolidayChecker;

// Check if today is a holiday
$result = HolidayChecker::isTodayHoliday();

if ($result['status']) {
    echo "Today is a holiday in Morocco: " . $result['name'];
} else {
    echo "Today is not a holiday in Morocco.";
}
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bce67ca69b58cf3b394730ec48a247d89e32fd2ce6c9363e16b39c8be7df8cb?d=identicon)[Faizarabhi](/maintainers/Faizarabhi)

---

Top Contributors

[![Faizarabhi](https://avatars.githubusercontent.com/u/93930498?v=4)](https://github.com/Faizarabhi "Faizarabhi (12 commits)")

### Embed Badge

![Health badge](/badges/holiday-morroco-holiday-package/health.svg)

```
[![Health](https://phpackages.com/badges/holiday-morroco-holiday-package/health.svg)](https://phpackages.com/packages/holiday-morroco-holiday-package)
```

###  Alternatives

[snapshotpl/zf-snap-geoip

MaxMind GeoIP Module for Zend Framework 2

1512.9k](/packages/snapshotpl-zf-snap-geoip)

PHPackages © 2026

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