jojostx / filament-tel-input
用于处理电话号码的 FilamentPHP 表单插件
dev-main
2023-07-03 02:49 UTC
Requires
- php: ^8.0
- filament/filament: ^2.0
- illuminate/contracts: ^9.0
- propaganistas/laravel-phone: ^4.3
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.8
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-09-09 05:14:35 UTC
README
请在这里添加您的描述。限制为一到两段话。考虑添加一个小示例。
安装
您可以通过 composer 安装此包
composer require jojostx/filament-tel-input
使用以下命令发布标志
php artisan vendor:publish --tag="filament-tel-input-flags"
此命令将发布 filament-tel-input 标志图像
用法
[ \Jojostx\FilamentTelInput\Forms\FilamentTelInput::make('phone_number'); ]
选项
[ \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'] ]
测试
composer test
变更日志
有关最近更改的更多信息,请参阅变更日志。
贡献
有关详细信息,请参阅贡献指南。
安全漏洞
有关报告安全漏洞的详细信息,请参阅我们的安全策略。
致谢
许可
MIT 许可证(MIT)。有关更多信息,请参阅许可文件。
- :selectedCountryPlaceholder ["0803 408 1360"]
- :selectedCountryData.name ["Nigeria"]
- :selectedCountryData.iso2 ["NG"]
- :selectedCountryData.dialcode ["234"]