@alidnet I recommend to take a look at Laravel Scout for the backend and Algolia Vue InstantSearch for the frontend.
https://laravel.com/docs/6.x/scout
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/vue/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi All, can anyone point me to a tutorial or example that can help me get my head around a complex search. Im new to both Vue and Laravel and I need to do the following.
I need property search form with multiple tag search for areas, tick boxes for property type (Office, Industrial, Residential, etc), Min Size to Max size.
Any help will be appreciated.
@alidnet pass it as an array: https://stackoverflow.com/a/51444749. It will simplify things a lot:
axios.get('/api/property/advancesearch', {
params: {
forsale: 1,
tolet: '',
areas: [62, 63, 65]
},
paramsSerializer: params => {
return qs.stringify(params)
}
});
Then in the controller you will be able to do it this way ->whereIn('property.areaid', \Request::get('areas')).
Please or to participate in this conversation.