PHP code example of sandervanhooft / laravel-blade-readable-numbers

1. Go to this page and download the library: Download sandervanhooft/laravel-blade-readable-numbers 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/ */

    

sandervanhooft / laravel-blade-readable-numbers example snippets


@readable_int(123456) // outputs 123K+
@readable_int(123456789) // outputs 123M+
@readable_int(123456789012) // outputs 123B+
@readable_int(123456789012345) // outputs 123T+