Needle - PHP Faceted Search

Description
Needle is a faceted search system build with PHP. All search request perform with ajax so there is no redirecting or refreshing the page, it return the result very quickly.
Why Needle?
All codes are very simple and nested properly. It’s very easy to modify. All of the search keys are returning form database so no need to add too many search options or checkbox in html just add your products to database and the search panel will update itself. Any kind of website can use this faceted search system. ex: any kind of eCommerce, Hotel Booking, Automobile Showroom etc.
Crawl efficiency & SEO performance
This can be an enormous challenge for eCommerce sites, which can have hundreds – or even thousands – of pages which are similar versions of the same product/category. With multiple possible combinations of attributes (color, sizes, material, etc.) for each product on the site, Googlebot could waste a ton of your crawl bandwidth crawling in and out of navigational filters.
Needle uses Ajax to perform search and navigate to page. The main benefit of using AJAX for faceted navigation is that a new URL is not created when a user is on a page and applies a filter or sort order. The entire process happens client-side with JavaScript, without involving the web server.
Frameworks
- Bootstrap 4.0.0-beta
- jQuery 3.2.1
- jQuery UI 1.12.1
- Normalize.css 7.0.0
Update Log
2026.05.20 - bugfix on Ajax search
2023.01.01 - Bugfix on reset button
2022.12.31 - Bugfix on Price Range slider
2022.11.14 - Upgraded to Bootstrap 5
2022.10.30 - add mysqli_real_escape_string() to avoid mysql injection
2021.08.24 - Add new range slider (touch compatible)
2021.08.14 - Add intermediary table for "Products" and "Colors". From now on a product can have multiple colors.
2021.07.13 - Bugfix on hard-coded image path
2021.03.11 - Bugfix on description search
2021.03.10 - Add a message if no result found
2021.03.10 - Bugfix on pagination links
2021.01.19 - Remove "Load More >>>" button if there is no more items
2019.04.09 - Responsive design
2018.12.27 - Compatible with IE11 & Edge
2018.11.12 - Bug fix on product load.
2018.09.06 - Bug fix on search in `description` field.
2018.06.15 - Add "Clear all filters" button.
2018.02.10 - Display available product quantity on search list
2017.11.13 - Bug fix: Stop previous Ajax request if new request starts. (effective on large database or low bandwidth)
2017.10.29 - Initial Upload
| Type | PHP Script |
|---|---|
| Author | smartrahat |
| Category | Php Scripts / Search |
| Price | $15 |
| Sales | 189 |
| Rating | 5.00 from 11 ratings |
| Published | Nov 9, 2017 |
| Last Update | May 20, 2026 |
| Compatible Browsers | IE11, Firefox, Safari, Opera, Chrome, Edge |
| Compatible Software | PHP 8.x, PHP 7.x, MySQL 8.x, MySQL 5.x |
| Source Files Included | JavaScript JS, HTML, CSS, PHP, SQL |
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks

