PHP code example of jiangbianwanghai / bankloan
1. Go to this page and download the library: Download jiangbianwanghai/bankloan library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jiangbianwanghai / bankloan example snippets
iangbianwanghai\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.