PHPackages                             ddvzwzjm/isda-day-count-convention - 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. ddvzwzjm/isda-day-count-convention

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

ddvzwzjm/isda-day-count-convention
==================================

Calculate dates difference according to ISDA specification with PHP

1.0.0(7y ago)09MITPHP

Since Oct 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ddvzwzjm/isda-day-count-convention)[ Packagist](https://packagist.org/packages/ddvzwzjm/isda-day-count-convention)[ RSS](/packages/ddvzwzjm-isda-day-count-convention/feed)WikiDiscussions master Synced yesterday

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

ISDA Day Count Convention for PHP
=================================

[](#isda-day-count-convention-for-php)

Calculate dates difference according to ISDA specification

Usage
=====

[](#usage)

Install it from packagist

```
composer install ddvzwzjm/isda-day-count-convention

```

Use it in your code

```
$beginDate = new \DateTime('2007-02-28');
$endDate = new \DateTime('2007-03-31');

print ISDA::dateDiff30360($beginDate, $endDate); // 33 days
print ISDA::dateDiff30E360Isda($beginDate, $endDate); // 30 days
print ISDA::dateDiff30E360Eurobond($beginDate, $endDate); // 32 days
print ISDA::dateDiffActual360($beginDate, $endDate); // 31 days

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

2772d ago

### Community

Maintainers

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

---

Top Contributors

[![alexerm](https://avatars.githubusercontent.com/u/177259?v=4)](https://github.com/alexerm "alexerm (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ddvzwzjm-isda-day-count-convention/health.svg)

```
[![Health](https://phpackages.com/badges/ddvzwzjm-isda-day-count-convention/health.svg)](https://phpackages.com/packages/ddvzwzjm-isda-day-count-convention)
```

PHPackages © 2026

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