Searchy is an easy-to-use Laravel 4+ package that makes running user driven searches on data in your models simple and effective.
Searchy is an easy-to-use Laravel Optimized package that makes running user driven searches on data in your models simple and effective.
It uses pseudo fuzzy searching and other weighted mechanics depending on the search driver that you have enabled.
It requires no other software installed on your server (so a bit slower than dedicated search programs) but can be set up and ready to go in minutes.
It requires no other software installed on your server (so can be a little slower than dedicated search programs) but can be set up and ready to go in minutes.
Installation
----------------------------------------
Add `"tom-lingham/searchy" : "dev-master"` to your composer.json file under `require`:
Add `"tom-lingham/searchy" : "2.0~"` to your composer.json file under `require`:
```
"require": {
"laravel/framework": "4.*",
"tom-lingham/searchy" : "dev-master"
}
```
Run `composer update` in your terminal to pull the package down into your vendors folder.
Run `composer update` in your terminal to pull down the package into your vendors folder.
Add the service provider to the `providers` array in Laravel's app/config/app.php file:
```php
'TomLingham\Searchy\SearchyServiceProvider'
```
Add the Alias to the `aliases` array in Laravel's app/config/app.php file:
Add the Alias to the `aliases` array in Laravel's app/config/app.php file if you want to have quick access to it in your application: