Laravel Base

Base Functionality for Laravel

View midnite81/laravel-base on Github
Back to Laravel Base index

Adding search to your controller


(This is a work in progress ... docs will be updated in due course)

   if ($this->isSearched()) {
            $this->filterByTerms($table, ['hash', 'title', 'url'], true);
   }