Skip to content

Commit

Permalink
added Levenshtein distance package
Browse files Browse the repository at this point in the history
  • Loading branch information
claudemyburgh committed Jul 20, 2024
1 parent 7cd614a commit affc84d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 96 deletions.
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "designbycode/fuzzy-search",
"description": "This is my package fuzzy-search",
"description": "The Fuzzy Search package provides a simple and efficient way to perform fuzzy searches on a collection of texts using the Levenshtein distance algorithm. This package is useful when you need to search for texts that may contain typos or slight variations.",
"keywords": [
"Designbycode",
"fuzzy-search"
"fuzzy-search",
"fuzzy search",
"search",
"levenshtein distance",
"levenshtein"
],
"homepage": "https://github.com/designbycode/fuzzy-search",
"license": "MIT",
Expand All @@ -15,7 +19,8 @@
}
],
"require": {
"php": "^8.1"
"php": "^8.1",
"designbycode/levenshtein-distance": "^1.0"
},
"require-dev": {
"pestphp/pest": "^2.20",
Expand Down
2 changes: 2 additions & 0 deletions src/FuzzySearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Designbycode\FuzzySearch;

use Designbycode\LevenshteinDistance\LevenshteinDistance;

/**
* Fuzzy search class using Levenshtein distance algorithm
*/
Expand Down
62 changes: 0 additions & 62 deletions src/LevenshteinDistance.php

This file was deleted.

31 changes: 0 additions & 31 deletions tests/LevenshteinDistanceTest.php

This file was deleted.

0 comments on commit affc84d

Please sign in to comment.