PHPackages                             eugene-petrov/magento2-category-filter - 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. [Search &amp; Filtering](/categories/search)
4. /
5. eugene-petrov/magento2-category-filter

ActiveMagento2-module[Search &amp; Filtering](/categories/search)

eugene-petrov/magento2-category-filter
======================================

Magento 2 category filter

00PHP

Since Jan 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eugene-petrov/magento2-category-filter)[ Packagist](https://packagist.org/packages/eugene-petrov/magento2-category-filter)[ RSS](/packages/eugene-petrov-magento2-category-filter/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![M2 Coding Standard](https://github.com/eugene-petrov/magento2-category-filter/actions/workflows/coding-standard.yml/badge.svg?branch=main)](https://github.com/eugene-petrov/magento2-category-filter/actions/workflows/coding-standard.yml)[![M2 Mess Detector](https://github.com/eugene-petrov/magento2-category-filter/actions/workflows/mess-detector.yml/badge.svg?branch=main)](https://github.com/eugene-petrov/magento2-category-filter/actions/workflows/mess-detector.yml)[![M2 PHPStan](https://github.com/eugene-petrov/magento2-category-filter/actions/workflows/phpstan.yml/badge.svg?branch=main)](https://github.com/eugene-petrov/magento2-category-filter/actions/workflows/phpstan.yml)

***ReadyToGo\_CategoryFilter***

Task: we need to display only products that are added to several categories on product listing page

To enable this module execute:

- `composer require eugene-petrov/magento2-category-filter`or if the cmd above is not working: `composer config repositories.readyToGoCategoryFilter vcs git@github.com:eugene-petrov/magento2-category-filter.git`
- `php bin/magento setup:upgrade`
- `php bin/magento cache:clean`

**Example**

*Preconditions*: magento sample data is installed

Let's imagine that we are on a category page like this one: [![img](./.readme/img.png)](./.readme/img.png)

And we need a filter to find out which products (from this particular category) are on sale (assigned to the Sale category). [![img_1](./.readme/img_1.png)](./.readme/img_1.png)

To make it done, let's specify a parameter in the URL `cat_ids` with category id (or ids) which we need and observe the result: [![img_2](./.readme/img_2.png)](./.readme/img_2.png)

This is it. Now we can build something on top of this implementation.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/559246b45d24bf8b8cb87f28bdbc68d98ee76c426f9cb1353d6067b4d8a08501?d=identicon)[eugene-petrov](/maintainers/eugene-petrov)

---

Top Contributors

[![eugene-petrov](https://avatars.githubusercontent.com/u/7125242?v=4)](https://github.com/eugene-petrov "eugene-petrov (3 commits)")

### Embed Badge

![Health badge](/badges/eugene-petrov-magento2-category-filter/health.svg)

```
[![Health](https://phpackages.com/badges/eugene-petrov-magento2-category-filter/health.svg)](https://phpackages.com/packages/eugene-petrov-magento2-category-filter)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)[handcraftedinthealps/zendsearch

a general purpose text search engine written entirely in PHP 5

39921.0k35](/packages/handcraftedinthealps-zendsearch)

PHPackages © 2026

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