PHP code example of tsmsogn / kuroneko_daibiki_fee

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

    

tsmsogn / kuroneko_daibiki_fee example snippets


$calculator = new Calculator(PaymentType::CASH);

$calculator->getFeeByNyukinPrice(4670); // 330
$calculator->getFeeByNyukinPrice(9670); // 440