Switch to PSR-4, fix CS and update service provider

This commit is contained in:
James Brooks
2015-12-22 09:34:30 +00:00
parent d961509341
commit c2ec458b2c
40 changed files with 753 additions and 723 deletions

25
config/searchy.php Executable file
View File

@ -0,0 +1,25 @@
<?php
return [
'default' => 'fuzzy',
'fieldName' => 'relevance',
'drivers' => [
'fuzzy' => [
'class' => 'TomLingham\Searchy\SearchDrivers\FuzzySearchDriver',
],
'simple' => [
'class' => 'TomLingham\Searchy\SearchDrivers\SimpleSearchDriver',
],
'levenshtein' => [
'class' => 'TomLingham\Searchy\SearchDrivers\LevenshteinSearchDriver',
],
],
];