PHPackages                             gnvs/otus-democalc - 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. gnvs/otus-democalc

ActiveLibrary

gnvs/otus-democalc
==================

Minimal calculator package

01PHP

Since Nov 21Pushed 5mo agoCompare

[ Source](https://github.com/gnvs/otus_democalc)[ Packagist](https://packagist.org/packages/gnvs/otus-democalc)[ RSS](/packages/gnvs-otus-democalc/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

otus\_democalc
==============

[](#otus_democalc)

Краткое описание пакета

Требования
==========

[](#требования)

- Минимальная версия PHP: 7.4
- Работает на: PHP 7.4, 8.0, 8.1, 8.2, 8.3

Composer.php в директории проекта
=================================

[](#composerphp-в-директории-проекта)

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/gnvs/otus_democalc"
        }
    ],
    "require": {
        "gnvs/otus-democalc": "dev-main"
    }
}

```

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

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

```
composer require gnvs/otus_democalc
```

Использование
=============

[](#использование)

```
require 'vendor/autoload.php';

use Gnvs\OtusDemoCalc\Democalc;

$calc = new Democalc();

echo $calc->add(5, 3); // 8
echo $calc->subtract(5, 3); // 2
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance51

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b4a52483fecdc51f493c60ffb970d550f5b5e6a3db67e3c11de8821ec4e43de?d=identicon)[gnvs](/maintainers/gnvs)

---

Top Contributors

[![gnvs](https://avatars.githubusercontent.com/u/39331357?v=4)](https://github.com/gnvs "gnvs (9 commits)")

### Embed Badge

![Health badge](/badges/gnvs-otus-democalc/health.svg)

```
[![Health](https://phpackages.com/badges/gnvs-otus-democalc/health.svg)](https://phpackages.com/packages/gnvs-otus-democalc)
```

PHPackages © 2026

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