PHPackages                             magetu/module-admin-category-tree-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. [Admin Panels](/categories/admin)
4. /
5. magetu/module-admin-category-tree-search

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

magetu/module-admin-category-tree-search
========================================

The Magento 2 and Adobe Commerce category tree search filter.

v1.0.0(1mo ago)018↓58.3%MITPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

Since Jul 7Compare

[ Source](https://github.com/Magetu/module-admin-category-tree-search)[ Packagist](https://packagist.org/packages/magetu/module-admin-category-tree-search)[ RSS](/packages/magetu-module-admin-category-tree-search/feed)WikiDiscussions Synced 1w ago

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

Magetu\_AdminCategoryTreeSearch
===============================

[](#magetu_admincategorytreesearch)

The Magento 2 and Adobe Commerce category tree search filter. Type a category **name or ID** and the tree filters live: matches are shown and highlighted, their ancestor paths auto-expand, everything else hides. A × clears the search and restores the tree exactly as the admin had it arranged.

Why
---

[](#why)

Neither Magento Open Source nor Adobe Commerce ships a way to search the admin category tree — finding a category in a large catalog means manually expanding and scrolling.

How it works
------------

[](#how-it-works)

The admin category tree (`Magento\Catalog\Block\Adminhtml\Category\Tree`) sets `useAjax(0)`, so the entire tree ships inline into jstree's in-browser model on page load. This module adds a search box that filters that existing jstree instance client-side, using jstree's own `hide_all` / `show_node` / `open_node` — no core template override, no controller, no server round trip. It only depends on `magento/module-catalog`, `magento/module-backend`, and `magento/framework`, so it installs on Magento Open Source, Adobe Commerce, and Mage-OS alike.

Install
-------

[](#install)

```
composer require magetu/module-admin-category-tree-search
bin/magento setup:upgrade
```

Large-catalog behavior
----------------------

[](#large-catalog-behavior)

- Category name lookup is a single cached SQL query (no model hydration), invalidated on category save.
- Search only activates at 2+ characters (a single character is too broad to be useful), except an exact category ID match.
- Revealed matches are capped (default 500) with a "keep typing to narrow down" notice, so a broad query on a very large catalog can never force the tree to open thousands of subtrees at once.

Tests
-----

[](#tests)

```
vendor/bin/phpunit --bootstrap vendor/autoload.php Test/Unit
```

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

[](#requirements)

Built for Adobe Commerce / Magento Open Source **2.4.x** and **Mage-OS**, **PHP 8.1 – 8.5**.

The unit suite (`Test/Unit/`) runs on **PHPUnit 9.5, 10.5, or 12** — it uses no APIs removed in PHPUnit 10/12. Note PHPUnit 12 itself requires PHP 8.3+.

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

48d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150042441?v=4)[Viper9x](/maintainers/Viper9x)[@Viper9x](https://github.com/Viper9x)

---

Tags

searchmagentotreemoduleadmincategorymagento2mage-os

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/magetu-module-admin-category-tree-search/health.svg)

```
[![Health](https://phpackages.com/badges/magetu-module-admin-category-tree-search/health.svg)](https://phpackages.com/packages/magetu-module-admin-category-tree-search)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8034.8M53](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1142.0M17](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69362.0k](/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.

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

Admin Panel grids and forms created via Loki Components

178.3k9](/packages/loki-magento2-admin-components)[smile/module-elasticsuite-cms-search

Smile Elasticsuite - Cms Pages Search Module for Smile Elasticsuite.

25983.2k1](/packages/smile-module-elasticsuite-cms-search)

PHPackages © 2026

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