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(9mo ago)14[1 issues](https://github.com/rahulsingh-solutions/magento2-category-filter-admin-grid/issues)MITPHPPHP &gt;=8.2 &lt;8.4

Since Oct 6Pushed 9mo 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 today

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 72% of packages

Maintenance58

Moderate activity, may be stable

Popularity4

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

270d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4287311?v=4)[rahul-singh](/maintainers/rahul-singh)[@rahul-singh](https://github.com/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

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M49](/packages/smile-elasticsuite)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1615.9k](/packages/mage-os-module-inventory-reservations-grid)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

1310.9k2](/packages/opengento-module-category-import-export)[loki/magento2-admin-components

Admin Panel grids and forms created via Loki Components

175.2k7](/packages/loki-magento2-admin-components)

PHPackages © 2026

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