PHPackages                             kaurikk/loan-payment-schedule - 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. kaurikk/loan-payment-schedule

AbandonedArchivedLibrary

kaurikk/loan-payment-schedule
=============================

\[Loan payment schedule library\]

0.0.1(9y ago)4707MITPHPPHP &gt;=7.1

Since Feb 28Pushed 9y agoCompare

[ Source](https://github.com/kaurikk/loan-payment-schedule)[ Packagist](https://packagist.org/packages/kaurikk/loan-payment-schedule)[ RSS](/packages/kaurikk-loan-payment-schedule/feed)WikiDiscussions master Synced 1mo ago

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

[![Build Status](https://camo.githubusercontent.com/45ead6616e4313247751d5a2e1f46c793d7b43b8e9c15b91f910dba558eb7dc9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b617572696b6b2f6c6f616e2d7061796d656e742d7363686564756c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kaurikk/loan-payment-schedule/build-status/master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/ef70ae4bc6ce7720d6b5dffb2aab74e59462c5da143251bb7918886a0db5d561/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b617572696b6b2f6c6f616e2d7061796d656e742d7363686564756c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kaurikk/loan-payment-schedule/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/7945dd64e656fcd9ac2c7271c52e3e9f0d718b25bef7fe06fc5e2fe57f93d9fa/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b617572696b6b2f6c6f616e2d7061796d656e742d7363686564756c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kaurikk/loan-payment-schedule/?branch=master)
[![Build Status](https://camo.githubusercontent.com/4b34598a5eaf06152382dc4dfa386f6199f0e8b75f7a0b064286011822a12897/68747470733a2f2f7472617669732d63692e6f72672f6b617572696b6b2f6c6f616e2d7061796d656e742d7363686564756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kaurikk/loan-payment-schedule) [![Tested with](https://camo.githubusercontent.com/9f3acbb0bef70623fbdc099ed696b5a41c6e3ab9dab6423a18524cd8ef5a1e73/68747470733a2f2f7068702d6579652e636f6d2f62616467652f6b617572696b6b2f6c6f616e2d7061796d656e742d7363686564756c652f7465737465642e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/9f3acbb0bef70623fbdc099ed696b5a41c6e3ab9dab6423a18524cd8ef5a1e73/68747470733a2f2f7068702d6579652e636f6d2f62616467652f6b617572696b6b2f6c6f616e2d7061796d656e742d7363686564756c652f7465737465642e7376673f6272616e63683d6d6173746572) [![SensioLabsInsight](https://camo.githubusercontent.com/16359c2000f47dee0797eb91a9d4b7732a921e73e486b2a7c218d4b41c21f1da/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32396664666336322d306463322d343262642d393331632d3835386434313465313863662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/29fdfc62-0dc2-42bd-931c-858d414e18cf)

loan-payment-schedule
=====================

[](#loan-payment-schedule)

Library to generate loan payment schedule based on configuration. Contains 3 main parts:

- PaymentScheduleConfig - holds configuration settings for payment schedule
- PaymentScheduleFactory - generates payment schedule based on configuration
- PaymentSchedule - holds collection of payment dates for payment schedule generated by factory

Basic usage
-----------

[](#basic-usage)

```
// We have a loan for 5 years with montly payments

// How many payments loan schedule has
$noOfPayment = 5*12;
// First day of the payment schedule (first day when loan principal is out)
$startDate = new \DateTime('2000-01-01');
// What is the pattern used to generate payment dates
$dateIntervalPattern = 'P1M';

$config = new PaymentScheduleConfig($noOfPayments, $startDate, $dateIntervalPattern);
$schedule = PaymentScheduleFactory::generate($config);
var_dump($schedule instanceof PaymentScheduleInterface); // true

// Get array of payment dates
$paymentDates = $schedule->getPaymentDates();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

3357d ago

### Community

Maintainers

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

---

Top Contributors

[![kaurikk](https://avatars.githubusercontent.com/u/4194333?v=4)](https://github.com/kaurikk "kaurikk (12 commits)")

---

Tags

loanphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kaurikk-loan-payment-schedule/health.svg)

```
[![Health](https://phpackages.com/badges/kaurikk-loan-payment-schedule/health.svg)](https://phpackages.com/packages/kaurikk-loan-payment-schedule)
```

PHPackages © 2026

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