# 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-%E2%89%A58.1.0-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.