PHP code example of spajxo / php-sraz

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

    

spajxo / php-sraz example snippets


$sraz = new Spajxo\PhpSraz();
$sraz->orderBeer(); // will order new beer
bash
$ composer