PHP code example of sherweb / otus-package

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

    

sherweb / otus-package example snippets



$calculator = new Calculator();
echo $calculator->exec(1, 2, '+');