PHP code example of maxim-tsikhonov / php-nod

1. Go to this page and download the library: Download maxim-tsikhonov/php-nod 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/ */

    

maxim-tsikhonov / php-nod example snippets


use MaximTsikhonov\PhpNod\CalculationProcessor;

$calculation = new CalculationProcessor();
echo $calculation->nod($num1, $num2);
bash
$ composer