PHPackages                             grantham/module-recentcategory - 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. grantham/module-recentcategory

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

grantham/module-recentcategory
==============================

Show Recent Category Block in All Pages

01PHP

Since Apr 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/grantham2610/module-recent-category)[ Packagist](https://packagist.org/packages/grantham/module-recentcategory)[ RSS](/packages/grantham-module-recentcategory/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Module Recent Category Magento2
===============================

[](#module-recent-category-magento2)

```
``grantham/module-recentcategory``

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)

Main Functionalities
--------------------

[](#main-functionalities)

- Showing recent category block in all the pages in magento
- Provide system configuration to provide default category Id
- Limit max 3 categories with their subcategories
- Replace existing category if visits more categories

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

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in `app/code/Grantham`
- Enable the module by running `php bin/magento module:enable Grantham_RecentCategory`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Make the module available in a composer repository for example:
    - private repository `repo.magento.com`
    - public repository `packagist.org`
    - public github repository as vcs
- Add the composer repository to the configuration by running `composer config repositories.repo.magento.com composer https://repo.magento.com/`
- Install the module composer by running `composer require grantham/module-recentcategory`
- enable the module by running `php bin/magento module:enable Grantham_RecentCategory`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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/4f8ee34dddc5ac1a6464d553391e1ee802483b80a7e51fa60a203e8574ca0bf0?d=identicon)[grantham2610](/maintainers/grantham2610)

---

Top Contributors

[![grantham2610](https://avatars.githubusercontent.com/u/128122350?v=4)](https://github.com/grantham2610 "grantham2610 (5 commits)")

### Embed Badge

![Health badge](/badges/grantham-module-recentcategory/health.svg)

```
[![Health](https://phpackages.com/badges/grantham-module-recentcategory/health.svg)](https://phpackages.com/packages/grantham-module-recentcategory)
```

###  Alternatives

[pelmered/filament-money-field

94162.4k1](/packages/pelmered-filament-money-field)

PHPackages © 2026

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