I have a very basic CRUD application for displaying entries in a mysql table, and would like to do a very basic full-text search across the table fields.
I've google'd far and wide, but cannot find any Laravel 5 beginner tutorials for implementing something as basic as a simple fulltext search. All the blog posts I came across were either incomplete or for Laravel 4.
Any pointer to a concise tutorial on basic search or fulltext search in L5 would be greatly appreciated!
(n00b alert!)
$models = Model::whereRaw("MATCH(field, another) AGAINST (? IN BOOLEAN MODE)", [$searchText])->get();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community