jiangbianwanghai / bankloan
a calculator of bank loan
v2.2.0
2016-09-07 11:59 UTC
Requires
- php: ^5.4.22|^7.0
Requires (Dev)
- phpunit/phpunit: ^4.6
README
Amortization Schedule Calculator
##Installation
Use Composer to install the library.
$ composer require jiangbianwanghai/bankloan
##Usage
<?php require_once __DIR__.'/vendor/autoload.php'; use Jiangbianwanghai\BankLoan\BankLoan; $bl = new BankLoan(['loanAmount' => 100000, 'year' => 10]); var_dump($bl->getELP()); // Get equal loan payments result. var_dump($bl->getEPP()); // Get equal principal payments result.
##Note
Now only supports China。
##License The MIT License (MIT). Please see License File for more information.