PHP code example of rozdol / loans

1. Go to this page and download the library: Download rozdol/loans 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/ */

    

rozdol / loans example snippets


use Rozdol\Loans\Loans;
$this->loans = new Loans();
$data=[...];
$result = $this->loan->calcLoan($data);

use Rozdol\Loans\Loans;
$this->loans = new Loans();
$date_normalized = $this->loans->F_date('01/01/20', 1); // 01.01.2020