96qbhy / like-string
简单的字符串相似度匹配函数。
Installs: 457
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
pkg:composer/96qbhy/like-string
This package is not auto-updated.
Last update: 2025-09-28 09:50:44 UTC
README
简单的相似字符串处理库
安装
$ composer require 96qbhy/like-string
使用
require 'vendor/autoload.php'; use \Qbhy\LikeString\LikeString; $bool = LikeString::formatFullMatch('qbhy', 'qbh7') ? 'true' : 'false'; //print_r($bool); $numeric = LikeString::generateNumeric('aabbccdd'); print_r($numeric); //like 22445577