So every big site needs some sort of search engine, normally something based on Lucene such as Elasticsearch or Solr, however, these need setting up separately to your web server stuff. The alternative is a Lucene implementation built entirely in PHP: ZendSearch.
We set up a Laravel install and looked around for a ZendSearch package and tried a couple, but the performance was poor and after digging into the code of these packages, there were some bits that were really inefficient, so Best Served Cold build their own super fast version!
You can get it here at packagist.org.
composer require best-served-cold/laravel-zendsearch
The source code is on github.com