PHPackages                             kim-1ne/production-calendar - 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. kim-1ne/production-calendar

ActiveLibrary

kim-1ne/production-calendar
===========================

PHP library for working with Russian production calendar

v1.0.1(3mo ago)00MITPHPPHP &gt;=8.1

Since Feb 4Pushed 3mo agoCompare

[ Source](https://github.com/kim-1ne/production-calendar)[ Packagist](https://packagist.org/packages/kim-1ne/production-calendar)[ RSS](/packages/kim-1ne-production-calendar/feed)WikiDiscussions main Synced 1mo ago

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

Production Calendar PHP Package
===============================

[](#production-calendar-php-package)

[![License](https://camo.githubusercontent.com/1c12f6cc112261d22d8554642a5ecc1e7689b73403cae3911d8df79e04f604b2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b696d2d316e652f70726f64756374696f6e2d63616c656e646172)](LICENSE)

PHP библиотека для работы с производственным календарём России. Позволяет получать информацию о рабочих днях, праздниках, сокращённых днях и рассчитывать рабочее время за различные периоды.

Особенности
-----------

[](#особенности)

- 📅 Работа с производственным календарём России
- ⏱️ Расчёт рабочих часов и дней
- 🏭 Поддержка сокращённых предпраздничных дней
- 🔧 Гибкая система периодов и интервалов
- 🚀 Автоматическое кэширование данных
- 🌐 Интеграция с внешним API календаря
- 📊 Подробная статистика по месяцам и годам

Установка
---------

[](#установка)

Установка через Composer:

```
composer require kim1ne/production-calendar
```

```
use Kim1ne\ProductionCalendar\ProductionCalendarFactory;

$productionCalendar = ProductionCalendarFactory::create(2026);

// $year = $productionCalendar->getYear();

// OR

// $year = $productionCalendar->period(
//     new DateTime('12.01.2026'),
//     new DateTime('16.01.2026')
// );

// OR

$year = $productionCalendar->periodDates(
    [
        new DateTime('12.01.2026'),
        new DateTime('16.01.2026')
    ],
    [
        new DateTime('12.02.2026'),
        new DateTime('16.02.2026')
    ]
);

$hours = $year->getHours();
$workingDays = $year->getWorkingDays();
$shortDays = $year->getShortDays();
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance82

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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 ~3 days

Total

2

Last Release

93d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff809dd8bfa9149eeaccb8075deca13332cb1804a60e17e0496769cb5444f74b?d=identicon)[kim-1ne](/maintainers/kim-1ne)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kim-1ne-production-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/kim-1ne-production-calendar/health.svg)](https://phpackages.com/packages/kim-1ne-production-calendar)
```

###  Alternatives

[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M40](/packages/php-debugbar-php-debugbar)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)

PHPackages © 2026

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