PHP code example of owndeveloper / number-massking
1. Go to this page and download the library: Download owndeveloper/number-massking 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/ */
owndeveloper / number-massking example snippets
use OwnDeveloper\NumberMask;
);
try {
$number = $numberMask->masking('9876543210','987-6543-210');
echo "Masked Number: ". $number;
} catch (\Exception $e) {
echo $e->getMessage();
}