PHP code example of wprk / laravel-blade-readable-numbers
1. Go to this page and download the library: Download wprk/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/ */
wprk / laravel-blade-readable-numbers example snippets
@longInt(123456) // outputs 123K+
@longInt(123456789) // outputs 123M+
@longInt(123456789012) // outputs 123B+
@longInt(123456789012345) // outputs 123T+