PHPackages                             themicly/shopcrafty-popular-search - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. themicly/shopcrafty-popular-search

ActiveLibrary

themicly/shopcrafty-popular-search
==================================

PopularSearch add-on for Shopcrafty.

v1.0.0(today)06↑2900%MITPHPPHP ^8.3CI passing

Since Jul 28Pushed todayCompare

[ Source](https://github.com/themicly/shopcrafty-popular-search)[ Packagist](https://packagist.org/packages/themicly/shopcrafty-popular-search)[ RSS](/packages/themicly-shopcrafty-popular-search/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (2)Used By (0)

Shopcrafty Popular Search
=========================

[](#shopcrafty-popular-search)

Popular search terms and storefront search analytics for Shopcrafty.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13+
- `themicly/shopcrafty` 1.0+

Installation
------------

[](#installation)

```
composer require themicly/shopcrafty-popular-search
php artisan migrate
```

The package is auto-discovered by Laravel. Popular search terms remain configured through Admin → Themes → Storefront settings when the addon is installed.

Features
--------

[](#features)

- Normalizes search terms by trimming, collapsing whitespace, and lowercasing
- Counts each term once per visitor session
- Ignores search analytics in Shopcrafty demo mode
- Records explicit searches and settled predictive-search queries
- Admin report at `/admin/reports/search-terms`
- Popular-term settings metadata for the Shopcrafty settings UI

The report supports filtering, popularity/recent sorting, and pagination.

Views and services
------------------

[](#views-and-services)

- Views use the `popularsearch::` namespace
- `SearchTermRecorder` records normalized terms
- `SearchTerm` reads aggregated terms from `catalog_search_terms`
- `popularsearch.search-terms` is the Livewire report component

License
-------

[](#license)

MIT. Targets PHP 8.3+ and Laravel 13+.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance100

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d789cf937c914cb8a2ce0c513840be4c4558007bb36433509496587d1989fdb?d=identicon)[rakibdevs](/maintainers/rakibdevs)

---

Top Contributors

[![rakibdevs](https://avatars.githubusercontent.com/u/44586913?v=4)](https://github.com/rakibdevs "rakibdevs (3 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/themicly-shopcrafty-popular-search/health.svg)

```
[![Health](https://phpackages.com/badges/themicly-shopcrafty-popular-search/health.svg)](https://phpackages.com/packages/themicly-shopcrafty-popular-search)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
