PHP code example of spriebsch / money

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

    

spriebsch / money example snippets

 declare(strict_types=1);

namespace spriebsch\money;

enum SupportedCurrencies: string implements Currency
{
    case EUR = 'EUR';
    case GBP = 'GBP';