2017 © Pedro Peláez
 

library loan-amount-calculator

[Loan amount calculator library]

image

kaurikk/loan-amount-calculator

[Loan amount calculator library]

  • Saturday, April 29, 2017
  • by kaurikk
  • Repository
  • 0 Watchers
  • 1 Stars
  • 65 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight, (*1)

loan-amount-calculator

Library for calculating loan interest, payment amounts. Contains 2 main parts: * Interest calculator * Payment amount calculator (supports annuity and equal principal payments), (*2)

Basic usage

Interest calculator

// Rate for 30 days
$yearlyInterestRate = 360;
$ratePerPeriod = $yearlyInterestRate / 360 * 30;
// Present value from where interest is calculated
$presentValue = 5000;


$calculator = new InterestAmountCalculator();
$interestAmount = $calculator->getInterestAmount($presentValue, $ratePerPeriod);

echo $interestAmount; // 1500

The Versions

29/04 2017

dev-master

9999999-dev

[Loan amount calculator library]

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

by Kauri Kont-Kontson

29/04 2017

0.0.3

0.0.3.0

[Loan amount calculator library]

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

by Kauri Kont-Kontson

28/04 2017

0.0.2

0.0.2.0

[Loan amount calculator library]

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

by Kauri Kont-Kontson

01/03 2017

0.0.1

0.0.1.0

[Loan amount calculator library]

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

by Kauri Kont-Kontson