Download the PHP package bissolli/nova-phone-field without Composer
On this page you can find all versions of the php package bissolli/nova-phone-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bissolli/nova-phone-field
More information about bissolli/nova-phone-field
Files in bissolli/nova-phone-field
Package nova-phone-field
Short Description Nova Phone Number field with a dynamic mask based on the country code inserted by the user.
License MIT
Homepage https://github.com/bissolli/nova-phone-field
Informations about the package nova-phone-field
A global Phone Number field for Laravel Nova
Nova Phone Number field with a dynamic mask based on the country code inserted by the user.
Requirements
- Laravel Nova
- Laravel Framework 5.7+ / 6.0+
NOTE: For Laravel version <= 5.6 use our package version v.0.0.3
Installation
You can install this package into a Laravel app that uses Nova via composer:
Usage
Go straight to your Nova resource and use Bissolli\NovaPhoneField\PhoneNumber
field:
Now you can view and add tags on the blog posts screen in your Nova app. All tags will be saved in the tags
table.
Filtering
By default, every country mask available inside bissolli/nova-phone-field/resources/js/data/phone-masks.json
will be loaded and working. However, you can always select the desired countries calling the onlyCountries()
method.
Custom number format
You can also add custom phone formats with withCustomFormats()
.
Or else use only your own phone formats calling for withCustomFormats()
among with onlyCustomFormats()
.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
Special thanks to Robin Herbots who built one of the best InputMask from the internet.
License
The MIT License (MIT). Please see License File for more information.
Support on Beerpay
Hey dude! Help me out for a couple of :beers:!