PHP code example of masoudi / number-plus
1. Go to this page and download the library: Download masoudi/number-plus 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/ */
masoudi / number-plus example snippets
NumberPlus::make('Salary')
->options([
"separator" => ',',
"prefix" => '$ ',
"suffix" => ' Yearly',
"precision" => 2,
"masked" => false,
]),
NumberPlus::make('Price')
->callAfterChanged("https://domain.com/number-to-words.php", displayResponse: true),