PHPackages                             mrcnpdlk/odsetki - 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. mrcnpdlk/odsetki

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

mrcnpdlk/odsetki
================

Wyliczanie odsetek

1.1.0(3y ago)01081[1 PRs](https://github.com/mrcnpdlk/odsetki/pulls)MITPHPPHP &gt;=8.0

Since Jan 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mrcnpdlk/odsetki)[ Packagist](https://packagist.org/packages/mrcnpdlk/odsetki)[ RSS](/packages/mrcnpdlk-odsetki/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (8)Versions (5)Used By (0)

Odsetki
=======

[](#odsetki)

Kalkulator odsetek na podstawie

Opis w języku polskim, gdyż biblioteka ma zastosowanie jedynie z naszymi przepisami

Przykład użycia:

```
use Mrcnpdlk\Lib\Odsetki\OdsetkiUstawowe;

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

$o = new OdsetkiUstawowe(
    '2015-12-31',
    '2021-01-10',
    10000
);

var_dump($o->calculate());
print_r($o->getDesc());
```

Rezultat:

```
double(3419.23)
Array
(
    [0] => Array
        (
            [0] => 2015-12-31 // OD
            [1] => 2015-12-31 // DO
            [2] => 0 // ILOSC DNI
            [3] => 0.08 // STAWKA
            [4] => 0 // WYLICZONA KWOTA ZA OKRES
        )

    [1] => Array
        (
            [0] => 2016-01-01
            [1] => 2020-03-17
            [2] => 1538
            [3] => 0.07
            [4] => 2949.5890410959
        )

    [2] => Array
        (
            [0] => 2020-03-18
            [1] => 2020-04-08
            [2] => 22
            [3] => 0.065
            [4] => 39.178082191781
        )

    [3] => Array
        (
            [0] => 2020-04-09
            [1] => 2020-05-28
            [2] => 50
            [3] => 0.06
            [4] => 82.191780821918
        )

    [4] => Array
        (
            [0] => 2020-05-29
            [1] => 2021-01-10
            [2] => 227
            [3] => 0.056
            [4] => 348.27397260274
        )

)

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~311 days

Total

3

Last Release

1329d ago

Major Versions

0.1.0 → 1.0.02022-05-21

PHP version history (2 changes)0.1.0PHP &gt;=7.2

1.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9b157a438a90ac875df96b1b332262157576dad35ab4a49ab7837dd1ed4bd2b?d=identicon)[mrcnpdlk](/maintainers/mrcnpdlk)

---

Top Contributors

[![mrcnpdlk](https://avatars.githubusercontent.com/u/22945316?v=4)](https://github.com/mrcnpdlk "mrcnpdlk (21 commits)")

---

Tags

kalkulatorodsetki

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mrcnpdlk-odsetki/health.svg)

```
[![Health](https://phpackages.com/badges/mrcnpdlk-odsetki/health.svg)](https://phpackages.com/packages/mrcnpdlk-odsetki)
```

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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