Download the PHP package triun/longest-common-subsequence without Composer
On this page you can find all versions of the php package triun/longest-common-subsequence. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download triun/longest-common-subsequence
More information about triun/longest-common-subsequence
Files in triun/longest-common-subsequence
Package longest-common-subsequence
Short Description PHP implementation of an algorithm to solve the 'longest common subsequence' problem.
License MIT
Homepage https://github.com/Triun
Informations about the package longest-common-subsequence
PHP - Longest Common Subsequence
PHP implementation of an algorithm to solve the longest common subsequence
problem.
About
PHP-Longest-Common-Subsequence is a PHP implementation of an algorithm to solve the 'longest common subsequence' problem.
From Wikipedia - Longest common subsequence problem:
The longest common subsequence (LCS) problem is the problem of finding the longest subsequence common to all sequences in a set of sequences (often just two sequences). It differs from the longest common substring problem: unlike substrings, subsequences are not required to occupy consecutive positions within the original sequences. The longest common subsequence problem is a classic computer science problem, the basis of data comparison programs such as the diff utility, and has applications in bioinformatics. It is also widely used by revision control systems such as Git for reconciling multiple changes made to a revision-controlled collection of files.
This PHP implementation is based on eloquent/php-lcs, adding a little more flexibility in order to handle, not only the common text, but also the differences.
Installation
Require triun/longest-common-subsequence package with composer using the following command:
Usage
Issues
Bug reports and feature requests can be submitted on the Github Issue Tracker.
Contributing
See CONTRIBUTING.md for information.
License
This repository is open-sourced software licensed under the MIT license