PHPackages                             thelia/delivery-exclude-date-module - 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. thelia/delivery-exclude-date-module

ActiveThelia-module

thelia/delivery-exclude-date-module
===================================

1.0(11y ago)0861LGPL-3.0+PHP

Since May 18Pushed 10y ago6 watchersCompare

[ Source](https://github.com/thelia-modules/DeliveryExcludeDate)[ Packagist](https://packagist.org/packages/thelia/delivery-exclude-date-module)[ RSS](/packages/thelia-delivery-exclude-date-module/feed)WikiDiscussions master Synced 1mo ago

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

Delivery Exclude Date
=====================

[](#delivery-exclude-date)

Authors: Thelia , Gilles Bourgeat

- This module manages excluding delivery dates.
- It manages a date list and test them by event.
- The developer competencies is required for use.

Compatibility
-------------

[](#compatibility)

Thelia &gt; 2.1

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is `DeliveryExcludeDate`.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/delivery-exclude-date-module:~1.0

```

Usage
-----

[](#usage)

- Once activated, click on the configure button for add or edit dates.

### Example in controller for one date

[](#example-in-controller-for-one-date)

```
    $event = new DateIsAvailableEvent(new \DateTime('2015-09-09'));

    $this->getDispatcher()->dispatch(
        DeliveryExcludeDateEvents::DATE_IS_AVAILABLE,
        $event
    );

    if ($event->getIsAvailable()) {
        // date is available
    } else {
        // date is not available
    }
```

### Example in controller for multiple dates

[](#example-in-controller-for-multiple-dates)

```
    $date1 = new \DateTime('2015-09-09');
    $date2 = new \DateTime('2015-10-09');
    $date3 = new \DateTime('2015-11-09');

    $event = new DatesIsAvailableEvent(array($date1, $date2, $date3));

    $this->getDispatcher()->dispatch(
        DeliveryExcludeDateEvents::DATES_IS_AVAILABLE,
        $event
    );

    if ($event->getIsAvailable($date1)) {
        // date 1 is available
    } else {
        // date 1 is not available
    }

    if ($event->getIsAvailable($date2)) {
        // date 1 is available
    } else {
        // date 1 is not available
    }

    if ($event->getIsAvailable($date3)) {
        // date 1 is available
    } else {
        // date 1 is not available
    }
```

Loop
----

[](#loop)

### delivery\_exclude\_date

[](#delivery_exclude_date)

#### Output arguments

[](#output-arguments)

VariableDescription$IDInt ValueTITLEString valueDESCRIPTIONString valueACTIVEInt valueDATEDate value

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

4018d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-delivery-exclude-date-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-delivery-exclude-date-module/health.svg)](https://phpackages.com/packages/thelia-delivery-exclude-date-module)
```

PHPackages © 2026

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