PHP code example of nurmuhammet / nova-inputmask
1. Go to this page and download the library: Download nurmuhammet/nova-inputmask 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/ */
nurmuhammet / nova-inputmask example snippets
use Nurmuhammet\NovaInputmask\NovaInputmask;
// ...
NovaInputmask::make('Phone number')
->mask('999999') // mask syntax here
// Storing raw value can be good for validation and search porpuses, so use storeRawValue() method. Resolved value will be masked automatically.
NovaInputmask::make('Phone number')
->storeRawValue()