Download the PHP package jfcherng/php-levenshtein-distance without Composer
On this page you can find all versions of the php package jfcherng/php-levenshtein-distance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jfcherng/php-levenshtein-distance
More information about jfcherng/php-levenshtein-distance
Files in jfcherng/php-levenshtein-distance
Download jfcherng/php-levenshtein-distance
More information about jfcherng/php-levenshtein-distance
Files in jfcherng/php-levenshtein-distance
Vendor jfcherng
Package php-levenshtein-distance
Short Description Calculate the Levenshtein distance and edit progresses between two strings.
License MIT
Package php-levenshtein-distance
Short Description Calculate the Levenshtein distance and edit progresses between two strings.
License MIT
Keywords edit-progresslevenshtein-distance
Please rate this library. Is it a good library?
Informations about the package php-levenshtein-distance
php-levenshtein-distance
Calculate the Levenshtein distance and edit progresses between two strings. Note that if you do not need the edit path, PHP has a built-in levenshtein() function.
Features
- UTF-8-ready.
- Full edit progresses information.
Installation
Example
See demo.php
.
Progress Options
LD::PROGRESS_NO_COPY
: Do not includeCOPY
operations in the progresses.LD::PROGRESS_MERGE_NEIGHBOR
: Merge neighbor progresses if possible.LD::PROGRESS_OP_AS_STRING
: Convert the operation in progresses from int to string.LD::PROGRESS_PATCH_MODE
: Replace the new edit position with the corresponding string.
Returned progresses
- The operation.
- The edit position for the new string.
- The edit position for the old string.
Or the corresponding string if
LD::PROGRESS_PATCH_MODE
is used. - The edit length.
All versions of php-levenshtein-distance with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package jfcherng/php-levenshtein-distance contains the following files
Loading the files please wait ....