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(11mo ago)051MITPHPPHP ^8.1

Since Jul 26Pushed 11mo agoCompare

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

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

30

—

LowBetter than 62% of packages

Maintenance51

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

341d ago

### Community

Maintainers

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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2587.9k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

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