Skip to content

jojostx/filament-tel-input

Repository files navigation

A FilamentPHP form plugin for working with phone numbers

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

image

Installation

You can install the package via composer:

composer require jojostx/filament-tel-input

Publish the flags using

php artisan vendor:publish --tag="filament-tel-input-flags"

This command will publish the filament-tel-input flags images

Usage

[
    \Jojostx\FilamentTelInput\Forms\FilamentTelInput::make('phone_number');
]

Options

[
    \InvadersXX\FilamentJsoneditor\Forms\JSONEditor::make('editor')
        ->height(500) // Set height to 500px, default is 300
        ->modes(['code', 'form', 'text', 'tree', 'view', 'preview']); // default is ['code', 'form', 'text', 'tree', 'view', 'preview']
]

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

  • :selectedCountryPlaceholder ["0803 408 1360"]
  • :selectedCountryData.name ["Nigeria"]
  • :selectedCountryData.iso2 ["NG"]
  • :selectedCountryData.dialcode ["234"]

About

A FilamentPHP form plugin for working with phone numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published