Answer the question
In order to leave comments, you need to log in
Site search in Laravel?
How can I organize a site search on Laravel?
Are there packages for this case?
Answer the question
In order to leave comments, you need to log in
If a simple full-text search, then by standard means.
If it is complex, then you need to use elasticsearch, there are packages for interacting with it.
There are several options here. It depends on what search and what site). The simplest WHERE LIKE %% , however, will be slow on large volumes. In MySQL with the MyISAM engine, there is the possibility of full-text search, there is just an article in conjunction with laravel. You can write your own simple solution: store a table in the database with words and links to entities in which these words are present. And of course, more advanced solutions are sphinx or elasticsearch.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question