Searchable - A Trait for Laravel to Add Search to Eloquent Models

October 9 2014, 2:04pm

Searchable allows you to perform searches in a table giving priorities to each field for the table and it's relations. This is not optimized for big searches, but sometimes you just need to make it simple.