blob: 4b3f126d3b7ba22082fff86f2252beba1168396f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# php-sequence-matcher
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/jfcherng/php-sequence-matcher/php.yml?branch=master&style=flat-square)](https://github.com/jfcherng/php-sequence-matcher/actions)
[![Codacy grade](https://img.shields.io/codacy/grade/f7073c3f03784bf39ed41f41f0d3fc8c/master?style=flat-square)](https://app.codacy.com/project/jfcherng/php-sequence-matcher/dashboard)
[![Packagist](https://img.shields.io/packagist/dt/jfcherng/php-sequence-matcher?style=flat-square)](https://packagist.org/packages/jfcherng/php-sequence-matcher)
[![Packagist Version](https://img.shields.io/packagist/v/jfcherng/php-sequence-matcher?style=flat-square)](https://packagist.org/packages/jfcherng/php-sequence-matcher)
[![Project license](https://img.shields.io/github/license/jfcherng/php-sequence-matcher?style=flat-square)](https://github.com/jfcherng/php-sequence-matcher/blob/master/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/jfcherng/php-sequence-matcher?style=flat-square&logo=github)](https://github.com/jfcherng/php-sequence-matcher/stargazers)
[![Donate to this project using Paypal](https://img.shields.io/badge/paypal-donate-blue.svg?style=flat-square&logo=paypal)](https://www.paypal.me/jfcherng/5usd)
A longest sequence matcher. The logic is primarily based on the Python [difflib](https://docs.python.org/3/library/difflib.html) package.
## Requirements
![php](https://img.shields.io/badge/php-%5E7.1.3-blue?style=flat-square)
## Installation
```bash
composer require jfcherng/php-sequence-matcher
```
## Acknowledgment
This package is stripped from [chrisboulton/php-diff](https://github.com/chrisboulton/php-diff) with some modifications.
|