Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

AbehoM's avatar

Best laravel package for advanced searching

I was wondering what package you guys use to make advanced searching with filters and also if there's one with pretty urls capability, like instead of color=blue&model=mustang something like /color/blue/model/mustang (and if it's possible).

0 likes
9 replies
broncho's avatar

I just used datatables where there is a search and it can do advanced searching

AbehoM's avatar

I don't think that datatables is going to help me, it's actually not what I want to do.

Nakov's avatar

The best is Algolia but it is free for non commercial projects only. This post is a good one, and there is a demo on how advanced you can go, it is a bit of an old one, but still good.

And the documentation for Laravel Scout which again uses Algolia as a driver.

1 like
AbehoM's avatar

@nakov I like the idea of Algolia but the project is commercial and I don't want to have additional expenses. Is there an open source package or something like that?

Nakov's avatar

@zefex you can always search for available drivers for Laravel Scout. This is one that I found and looks interesting.

AbehoM's avatar

I heard and read about Laravel Scout before but I found it really complicated to understand and not that simple to set up also, specially the way I want like using filters as you see in ecommerce, classified websites, and so on, for example:

AbehoM's avatar

@mattsplat I liked how it works the thing tho that is confusing me is how the form would be structuring considering that the filters needs to have filter in the query like /users?filter[name]=John and /users?include=posts

Please or to participate in this conversation.