PHPackages                             barkamlesh/varnishlog - 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. [Caching](/categories/caching)
4. /
5. barkamlesh/varnishlog

ActiveMagento2-module[Caching](/categories/caching)

barkamlesh/varnishlog
=====================

Magento 2 module for Varnish logging and cache invalidation.

1.1.2(9mo ago)051MITPHPPHP ^8.1

Since Jul 26Pushed 9mo agoCompare

[ Source](https://github.com/barkamlesh/varnishlog)[ Packagist](https://packagist.org/packages/barkamlesh/varnishlog)[ RSS](/packages/barkamlesh-varnishlog/feed)WikiDiscussions main Synced 1mo ago

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

VarnishLog Magento 2 Module
===========================

[](#varnishlog-magento-2-module)

[![Packagist](https://camo.githubusercontent.com/90cfa445065fe5c479dbbb895ab747d5ba3f8702e293c0cfdca9c6b01d390258/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261726b616d6c6573682f7661726e6973686c6f672e737667)](https://packagist.org/packages/barkamlesh/varnishlog)[![MIT License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

Description
-----------

[](#description)

Magento 2 module for Varnish logging and cache invalidation. This module logs cache invalidation events for categories and products, helping you monitor Varnish cache operations.

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

[](#installation)

### Composer

[](#composer)

```
composer require barkamlesh/varnishlog
```

### Enable the module

[](#enable-the-module)

```
php bin/magento module:enable Kamlesh_VarnishLog
php bin/magento setup:upgrade
```

Usage
-----

[](#usage)

- Logs cache invalidation events for categories and products.
- Integrates with Magento's event system.

File Structure
--------------

[](#file-structure)

```
VarnishLog/
  composer.json
  registration.php
  etc/
    module.xml
    events.xml
  Logger/
    VarnishLogger.php
  Observer/
    CacheInvalidation.php

```

Support
-------

[](#support)

- Issues:
- Source:

License
-------

[](#license)

MIT

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance60

Regular maintenance activity

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Every ~0 days

Total

4

Last Release

286d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/978a0b50f7b5a47708a9cd46004476a4a0ad9df5af410c81ac0755eb95dd9217?d=identicon)[barkamlesh](/maintainers/barkamlesh)

---

Top Contributors

[![barkamlesh](https://avatars.githubusercontent.com/u/3705092?v=4)](https://github.com/barkamlesh "barkamlesh (16 commits)")

### Embed Badge

![Health badge](/badges/barkamlesh-varnishlog/health.svg)

```
[![Health](https://phpackages.com/badges/barkamlesh-varnishlog/health.svg)](https://phpackages.com/packages/barkamlesh-varnishlog)
```

###  Alternatives

[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[pdffiller/qless-php

PHP Bindings for qless

29113.2k1](/packages/pdffiller-qless-php)[nlmdev/hoard

A PSR-compliant caching library for holding objects in nested pools with scripting ability.

107.7k](/packages/nlmdev-hoard)

PHPackages © 2026

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