If you only require simple 'search engine' this is the right way to do it You can always install Laravel scout and use some of its engines for searching. However sometimes we don't need that heavy-on-server search, so we can use this simpl...