PHPackages                             fballiano/openmage-hide-empty-categories - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fballiano/openmage-hide-empty-categories

Abandoned → [mahocommerce/maho](/?search=mahocommerce%2Fmaho)ArchivedMagento-module[Utility &amp; Helpers](/categories/utility)

fballiano/openmage-hide-empty-categories
========================================

Removes categories with no children and no products when loading a categories collection

0.4.0(3y ago)1128OSL-3.0PHPPHP &gt;=7.4.0

Since Oct 22Pushed 2y ago5 watchersCompare

[ Source](https://github.com/fballiano/openmage-hide-empty-categories)[ Packagist](https://packagist.org/packages/fballiano/openmage-hide-empty-categories)[ Docs](https://github.com/fballiano/openmage-hide-empty-categories)[ RSS](/packages/fballiano-openmage-hide-empty-categories/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Magento Hide Empty Categories
=============================

[](#magento-hide-empty-categories)

Removes categories with no products when loading a categories collection

**If you find my work valuable, please consider sponsoring**
[![Sponsor me on GitHub](https://camo.githubusercontent.com/3f9a3c47d5a6c575b4d6c5f13ecaf55ff585c67a6ba47f87f8cf57e4cb7a1fdc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f722d3330333633443f7374796c653d666f722d7468652d6261646765266c6f676f3d4769744875622d53706f6e736f7273266c6f676f436f6c6f723d237768697465)](https://github.com/sponsors/fballiano "Sponsor me on GitHub")[![Buy me a coffee](https://camo.githubusercontent.com/430a7d4ff7294cc857ec60d5ea9f51241205a91cab8387143d33b4bd13e27912/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275795f4d655f415f436f666665652d4646444430303f7374796c653d666f722d7468652d6261646765266c6f676f3d6275792d6d652d612d636f66666565266c6f676f436f6c6f723d626c61636b)](https://www.buymeacoffee.com/fballiano "Buy me a coffee")[![Donate via PayPal](https://camo.githubusercontent.com/b811c9741e973ac713b2a33c9bfd025f0fad57a7b1d57a29d03b30badb6d04f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50617950616c2d3030343537433f7374796c653d666f722d7468652d6261646765266c6f676f3d70617970616c266c6f676f436f6c6f723d7768697465)](https://www.paypal.com/paypalme/fabrizioballiano "Donate via PayPal")Backup!!!
---------

[](#backup)

Backup your database before launching the translation process!!! This module is provided "as is" and I'll not be responsible for any data damage.

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

[](#installation)

Simply download the whole repository and copy everything to your Magento document root. Otherwise with modman:

```
modman clone https://github.com/fballiano/magento-hide-empty-categories
```

Compatibility
-------------

[](#compatibility)

This module was developed on Magento 1.9.4.1. If you have a different version of Magento and the module is working please drop me a line so I can update this compatibility list.

Support
-------

[](#support)

If you have any issues with this extension, open an issue on GitHub.

Contribution
------------

[](#contribution)

Any contributions are highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).

Developer
---------

[](#developer)

Fabrizio Balliano

[@fballiano](https://twitter.com/fballiano)

Licence
-------

[](#licence)

[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

Copyright
---------

[](#copyright)

(c) Fabrizio Balliano

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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

Every ~958 days

Total

4

Last Release

1396d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

0.4.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/262e16fb4a6bbef60ac0fd0172f5586e2c24effcc80a2138e662fb0316083c4c?d=identicon)[fballiano](/maintainers/fballiano)

---

Top Contributors

[![fballiano](https://avatars.githubusercontent.com/u/909743?v=4)](https://github.com/fballiano "fballiano (25 commits)")[![andreasemer](https://avatars.githubusercontent.com/u/1199310?v=4)](https://github.com/andreasemer "andreasemer (1 commits)")

### Embed Badge

![Health badge](/badges/fballiano-openmage-hide-empty-categories/health.svg)

```
[![Health](https://phpackages.com/badges/fballiano-openmage-hide-empty-categories/health.svg)](https://phpackages.com/packages/fballiano-openmage-hide-empty-categories)
```

###  Alternatives

[msp/devtools-m1

MageSpecialist DevTools for Magento 1

2740.8k](/packages/msp-devtools-m1)[inviqa/magento-symfony-container

Provides Magento with an instance of a Symfony DI Container

2436.5k](/packages/inviqa-magento-symfony-container)[tim-reynolds/magento-qconfig

Magento config quick search

513.0k](/packages/tim-reynolds-magento-qconfig)[fastly/cdn

Fastly CDN module for Magento 1.x

275.5k](/packages/fastly-cdn)[clerk/magento

Clerk.io Turns More Browsers Into Buyers

1030.0k](/packages/clerk-magento)

PHPackages © 2026

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