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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners