PHPackages                             aeyoll/next-day-delivery - 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. aeyoll/next-day-delivery

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

aeyoll/next-day-delivery
========================

a small utility to help knowing if a company is able to ship something for the next day

1.0.1(6y ago)010MITPHPCI failing

Since Dec 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/aeyoll/next-day-delivery)[ Packagist](https://packagist.org/packages/aeyoll/next-day-delivery)[ RSS](/packages/aeyoll-next-day-delivery/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

Next Day Delivery
=================

[](#next-day-delivery)

[![Build Status](https://camo.githubusercontent.com/fbf088f684074d9eeb4225a5e347c32924dd15f741092ec603c0671c9c54b64f/68747470733a2f2f7472617669732d63692e636f6d2f6165796f6c6c2f6e6578742d6461792d64656c69766572792e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/aeyoll/next-day-delivery)

This repository is a small utility to help knowing if a company is able to ship something for the next day.

Requirements
------------

[](#requirements)

- PHP 7.0+

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

[](#installation)

```
composer require aeyoll/next-day-delivery
```

Usage
-----

[](#usage)

```
use Aeyoll\NextDayDelivery;

$ndd = new NextDayDelivery();
$isNextDayDeliveryPossible = $ndd->isNextDayDeliveryPossible();
```

If the next day delivery is possible, it returns the amount of time before it is actually possible to ship. Otherwise, it returns `false`.

Options
-------

[](#options)

Alternatively, you can pass an array of options to the constructor:

option namedescriptiondefault value*timeLimit*Max hour in 24h format before being unable to ship`15`, e.g. 3pm*countryCode*A 2 letter code picked from [cmixin/business-day](https://packagist.org/packages/cmixin/business-day), used to compute the country holidays`'fr'`*additionalHolidays*an array of days where the company is not able to ship`[]`*allowSaturdayDelivery*self-explanatory boolean`false`Testing
-------

[](#testing)

You can run test by cloning the repository and executing PHPUnit:

```
composer install
./vendor/bin/phpunit
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~10 days

Total

2

Last Release

2313d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d12416c5c56b3b1a28167538f4c041b36285f5c343526b30e030d47e3f0c5df?d=identicon)[aeyoll](/maintainers/aeyoll)

---

Top Contributors

[![aeyoll](https://avatars.githubusercontent.com/u/1472285?v=4)](https://github.com/aeyoll "aeyoll (20 commits)")

---

Tags

day-deliveryphpshipping

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aeyoll-next-day-delivery/health.svg)

```
[![Health](https://phpackages.com/badges/aeyoll-next-day-delivery/health.svg)](https://phpackages.com/packages/aeyoll-next-day-delivery)
```

###  Alternatives

[cmixin/business-time

Carbon mixin to handle business days and opening hours

3171.3M1](/packages/cmixin-business-time)[spirit55555/php-minecraft

Useful PHP classes for Minecraft

6823.6k](/packages/spirit55555-php-minecraft)

PHPackages © 2026

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