We all know what is the most needed feature in our projects: search for content in our app.
That’s exactly what we’re going to do here using Laravel Scout & Tnt Search.
Laravel Scout
Laravel Scout provides a simple, driver based solution for adding full-text search to your Eloquent models. Using model observers, Scout will automatically keep your search indexes in sync with your Eloquent records.
TNT Search
TNTSearch is a fully-featured full-text search engine written entirely in PHP. It’s simple configuration allows you to add an amazing search experience to your site in just minutes.
Getting Started
Well, now that we know a little bit what we’re talking about, we’re going to put all this to work on a quick and simple Laravel Blog project!
Let's create the project: