Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qbhy/like-string
简单的相似字符串处理库
https://github.com/qbhy/like-string
Last synced: 20 days ago
JSON representation
简单的相似字符串处理库
- Host: GitHub
- URL: https://github.com/qbhy/like-string
- Owner: qbhy
- Created: 2017-08-12T01:55:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-12T08:11:43.000Z (over 7 years ago)
- Last Synced: 2024-11-21T00:07:36.962Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- 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)
[email protected]