PHPackages                             themicly/shopcrafty-compare - 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-compare

ActiveLibrary

themicly/shopcrafty-compare
===========================

Compare add-on for Shopcrafty.

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

Since Jul 28Pushed todayCompare

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

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

Shopcrafty Compare
==================

[](#shopcrafty-compare)

Session-backed product comparison for Shopcrafty. The comparison list works for guests and signed-in customers and is limited to four active products.

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

[](#requirements)

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

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

[](#installation)

Install Shopcrafty first, then add the package:

```
composer require themicly/shopcrafty-compare
php artisan migrate
```

Enable comparison in Admin → Themes → Storefront settings. The package is auto-discovered by Laravel and registers its routes, Livewire component, and addon metadata automatically.

What it provides
----------------

[](#what-it-provides)

- Storefront comparison page at `/compare`
- JSON toggle endpoint at `/compare/toggle`
- `compare.compare-page` Livewire component
- `CompareService` with `MAX = 4`
- `compare` addon and settings metadata for Shopcrafty themes

The list is stored in the visitor session and is not persisted to the customer account.

Theme integration
-----------------

[](#theme-integration)

Addon-owned views use the `compare::` namespace. Shopcrafty’s bundled themes only render compare links and components when the addon is installed and the feature is enabled.

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-compare/health.svg)

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

PHPackages © 2026

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