PHPackages                             thiagomarini/not-tomorrow - 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. thiagomarini/not-tomorrow

ActiveLibrary

thiagomarini/not-tomorrow
=========================

PHP library to calculate the next working day. You can also check if a given date is a holiday or if the next day is on weekend.

1.0.1(9y ago)111MITPHPPHP &gt;=7.0

Since Apr 4Pushed 7y agoCompare

[ Source](https://github.com/thiagomarini/not-tomorrow)[ Packagist](https://packagist.org/packages/thiagomarini/not-tomorrow)[ RSS](/packages/thiagomarini-not-tomorrow/feed)WikiDiscussions master Synced 2mo ago

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

not-tomorrow
============

[](#not-tomorrow)

[![CircleCI](https://camo.githubusercontent.com/006e6f044282ae74632b510e1b41c6687bbf4674c993d48f18e59f30e6d1132f/68747470733a2f2f636972636c6563692e636f6d2f67682f74686961676f6d6172696e692f6e6f742d746f6d6f72726f772e7376673f7374796c653d737667)](https://circleci.com/gh/thiagomarini/not-tomorrow) [![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

#### What for?

[](#what-for)

PHP library to calculate the next working day. Handy if you work with delivery only on weekdays.

You can also check if a given date is a holiday or if the next day is on weekend.

### Requirements

[](#requirements)

- PHP &gt;= 7.0
- Depends on [easter\_days()](http://php.net/manual/en/function.easter-days.php)

Relies on handlers to work
--------------------------

[](#relies-on-handlers-to-work)

Right now it can only calculate workdays for:

- England and Whales 🇬🇧

Feel free to contribute and send more handlers via pull requests. Handlers need to implement `AnnualHolidays` interface.

Basic Usage
-----------

[](#basic-usage)

```
