PHP code example of brnbio / laravel-number

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

    

brnbio / laravel-number example snippets


number()->currency(25); // 25,00 €
number()->percent(0.25, 0); // 25 %