PHPackages                             rahul-singh/module-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. [Admin Panels](/categories/admin)
4. /
5. rahul-singh/module-category-filter

ActiveMagento2-module[Admin Panels](/categories/admin)

rahul-singh/module-category-filter
==================================

Category filter column in the Magento 2 Admin Product Grid

v1.0.0(7mo ago)03[1 issues](https://github.com/rahulsingh-solutions/magento2-category-filter-admin-grid/issues)MITPHPPHP &gt;=8.2 &lt;8.4

Since Oct 6Pushed 7mo agoCompare

[ Source](https://github.com/rahulsingh-solutions/magento2-category-filter-admin-grid)[ Packagist](https://packagist.org/packages/rahul-singh/module-category-filter)[ RSS](/packages/rahul-singh-module-category-filter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Magento 2 Module: Category Filter for Admin Product Grid
========================================================

[](#magento-2-module-category-filter-for-admin-product-grid)

This module extends the default Magento 2 Admin Product Grid to include a **Categories** column and a powerful **Category filter**. This makes it easy for administrators to view a product's assigned categories directly in the grid and efficiently filter the product list by one or more categories.

---

🚀 Features
----------

[](#-features)

- **Category Column:** Displays a comma-separated list of all assigned categories for each product.
- **Category Filter:** Adds a dropdown filter above the grid, allowing administrators to filter the product collection by selecting a single category.
- **Efficient Filtering:** Uses the native Magento collection filtering mechanism (`addCategoriesFilter`) for better performance when filtering large catalogs.
- **UI Component Integration:** Seamlessly integrates with the existing `product_listing.xml` UI Component configuration.

---

🛠️ Installation
---------------

[](#️-installation)

### Recommended: Install via Composer

[](#recommended-install-via-composer)

Run the following command from your Magento root directory:

```
composer require rahul-singh/module-category-filter
php bin/magento module:enable Rahulsingh_CategoryFilter
php bin/magento setup:upgrade
php bin/magento cache:clean
```

### 1. Manual Installation (Download and Place the Module)

[](#1-manual-installation-download-and-place-the-module)

Create the directory `app/code/Rahulsingh/CategoryFilter` and place all the module files inside it.

### 2. Run Magento Commands

[](#2-run-magento-commands)

Execute the following commands from your Magento root directory:

```
# 1. Enable the module
php bin/magento module:enable Rahulsingh_CategoryFilter

# 2. Run setup upgrade to register the module and apply dependencies
php bin/magento setup:upgrade

# 3. Clean cache
php bin/magento cache:clean
```

### 3. Verify

[](#3-verify)

After running the commands, navigate to **Admin Panel** &gt; **Catalog** &gt; **Products**.

- You will see a new **Categories** column in the product grid.
- A new **Category** filter option will be available in the filter bar at the top of the grid.

---

📝 Usage
-------

[](#-usage)

1. Navigate to **Catalog** &gt; **Products**.
2. Click on the **Filters** button.
3. Locate the **Category** dropdown, select the desired category, and click **Apply Filters**.
4. The grid will now only show products assigned to the selected category.

---

Note: This module has been tested with Magento version 2.4.8-p2 (latest at time of writing).

---

🤝 Contribution
--------------

[](#-contribution)

Feel free to fork this repository, submit pull requests, or report any issues you encounter.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance63

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ca51d8ff22dbc1a324e56359aa92db3df5bcb8774bb82284af013e58820edb1?d=identicon)[rahul-singh](/maintainers/rahul-singh)

---

Top Contributors

[![rahulsingh-solutions](https://avatars.githubusercontent.com/u/188788475?v=4)](https://github.com/rahulsingh-solutions "rahulsingh-solutions (4 commits)")

### Embed Badge

![Health badge](/badges/rahul-singh-module-category-filter/health.svg)

```
[![Health](https://phpackages.com/badges/rahul-singh-module-category-filter/health.svg)](https://phpackages.com/packages/rahul-singh-module-category-filter)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[magevision/module-admin-category-product-thumbnail

Admin Category Product Thumbnail Extension for Magento 2

115.2k](/packages/magevision-module-admin-category-product-thumbnail)

PHPackages © 2026

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