cline/phone-number
最新稳定版本:1.2.0
Composer 安装命令:
composer require cline/phone-number
包简介
Phone number library
README 文档
README
Phone Number is a PHP library for parsing, validating, formatting, and extracting metadata from phone numbers. It provides an immutable, fluent API with comprehensive support for international phone numbers across all regions.
This is a wrapper around giggsey/libphonenumber-for-php, providing a cleaner API and additional convenience methods.
Requirements
Requires PHP 8.5+
Installation
composer require cline/phone-number
Documentation
- Basic Usage - Parsing, validation, formatting, and number components
- Metadata - Geographic descriptions, carrier info, and time zones
- Exception Handling - Handling parse errors gracefully
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-23