Category: Laravel, api, javascript

We have a list of products that we need to filter. We'll show brands and categories as a list of checkboxes.

I have not really found a good way to submit form arrays without swapping brackets with URL safe characters.

When the filter button is clicked, you can collect all the id's for brand and category.

document.location.href=href refreshes the page with the url containing the brand and categories to filter.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners