https://github.com/qbhy/like-string
简单的相似字符串处理库
https://github.com/qbhy/like-string
Last synced: 23 days ago
JSON representation
简单的相似字符串处理库
- Host: GitHub
- URL: https://github.com/qbhy/like-string
- Owner: qbhy
- Created: 2017-08-12T01:55:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-12T08:11:43.000Z (about 8 years ago)
- Last Synced: 2025-07-28T10:48:02.391Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# like-string
简单的相似字符串处理库
## 安装
```bash
$ composer require 96qbhy/like-string
```
## 使用
```php
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
```
[https://www.96qbhy.com](https://www.96qbhy.com)
96qbhy@gmail.com