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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kim-1ne/production-calendar

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

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

PHP library for working with Russian production calendar

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

Since Feb 4Pushed 4mo 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 today

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

32

—

LowBetter than 69% of packages

Maintenance74

Regular maintenance activity

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

146d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/224412923?v=4)[kim-1ne](/maintainers/kim-1ne)[@kim-1ne](https://github.com/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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

318123.0k1](/packages/cognesy-instructor-php)

PHPackages © 2026

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