Laravel 5+ Searchy - Database Searching Made Easy
Laravel Searchy is a good Laravel package that can help us to build a search engine for our websites easily.
Introduction
Searchy is an; easy-to-use, light-weight, MySQL only, Laravel 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 can be a little slower than dedicated search programs) but can be set up and ready to go in minutes.
!! Laravel 4 !!
Looking for Laravel 4 compatible Searchy? Checkout the 1.0 branch :)
https://github.com/TomLingham/Laravel-Searchy/tree/1.0
Installation
Add "tom-lingham/searchy" : "2.*" to your composer.json file under require:
"require": { "laravel/framework": "5.*", "tom-lingham/searchy" : "2.*" }
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 ./config/app.php file:
TomLingham\Searchy\SearchyServiceProvider::class
Add the Alias to the aliases array in Laravel's ./config/app.php file if you want to have quick access to it in your application:
'Searchy' => TomLingham\Searchy\Facades\Searchy::class
Link:
This post is submitted by our members. Submit a new post.
Tags: Tutorials v4.x Laravel 5 Laravel 5.1 Laravel 5.2 Intermediate Packages