Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-workdays maintained by zarbinco

Description
Laravel-first workday and business-day calculation engine.
Last update
2026/10/21 02:26 (dev-main)
License
Links
Downloads
4

Comments
comments powered by Disqus

Laravel Workdays

Tests Packagist License

Calculate business days, working time and calendar-aware delivery dates in Laravel. Define separate calendars for teams, warehouses or carriers, using Gregorian, Jalali and Hijri holidays.

Supports PHP 8.2+ and Laravel 12 or 13, subject to the selected Laravel version's own PHP requirements. The changelog labels the current repository changes 1.0.0 — Unreleased; these guides describe this checkout, not a promise about an older published package.

Install and calculate

composer require zarbinco/laravel-workdays
php artisan vendor:publish --tag=workdays-config

In a Laravel application with the shipped global profile unchanged and the Config source selected:

use Zarbinco\LaravelWorkdays\Facades\Workday;

echo Workday::profile('global')->nextBusinessDay('2026-11-06')->toDateString(), PHP_EOL;
2026-11-09

Friday's next business day is Monday because this profile closes Saturday and Sunday. For a complete independent calendar definition, follow Getting started.

Documentation

English · فارسی

For contributors: architecture, capability and test matrix, numerical history, and verification.

Report issues through the issue tracker. Licensed under the MIT License.