PHP code example of henriquemattia / moeda-br

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

    

henriquemattia / moeda-br example snippets


use Henriquemattia\MoedaBr\MoedaBr;

MoedaBr::make('Valor', 'value'),

  MoedaBr::make('Valor', 'value')->multiplyValueBy(100),
    

  MoedaBr::make('Valor', 'value')->displayValueDividedBy(100),