ogenes/phone-check

固话和手机号自动解析验证

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:libary

pkg:composer/ogenes/phone-check

1.0.0 2021-07-01 02:42 UTC

This package is auto-updated.

Last update: 2025-09-29 03:13:15 UTC


README

固话和手机号自动解析并验证

install

composer require ogenes/phone-check

demo

use Ogenes\PhoneCheck\Client;

try
{
    $tel = "(0376) 803 9551;13478946254‬‬";
    $ret = Client::analysis($tel);
} catch (InvalidArgumentException  $e)
{
    $ret = $e->getMessage();
}
print_r($ret);