PHPackages                             levenify/levenify-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. levenify/levenify-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

levenify/levenify-bundle
========================

A better Levenshtein function in your Symfony project

34.3k↓38.9%1PHP

Since Apr 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AnthonyDUSART/Levenify)[ Packagist](https://packagist.org/packages/levenify/levenify-bundle)[ RSS](/packages/levenify-levenify-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony Levenify Bundle
=======================

[](#symfony-levenify-bundle)

A better Levenshtein function in your Symfony project

How to install Levenify
-----------------------

[](#how-to-install-levenify)

- Step 1 : Install package

```
composer req levenify/levenify-bundle
```

- Step 2 : Setup your database with command

```
bin/console levenify:install
```

- Step 3 : Setup your config.yml

```
# app/config/config.yml
doctrine:
    orm:
        dql:
            numeric_functions:
                levenshtein: Levenify\LevenifyBundle\ORM\Doctrine\DQL\Levenshtein
                levenshtein_ratio: Levenify\LevenifyBundle\ORM\Doctrine\DQL\LevenshteinRatio
```

How to use Levenify
-------------------

[](#how-to-use-levenify)

- With Query Builder

```
