PHPackages                             adt/version-macro - 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. adt/version-macro

AbandonedArchivedLibrary

adt/version-macro
=================

Latte version macro for Nette Framework.

v5.0(4y ago)065.7k↓100%MITPHP

Since May 12Pushed 4y ago15 watchersCompare

[ Source](https://github.com/AppsDevTeam/VersionMacro)[ Packagist](https://packagist.org/packages/adt/version-macro)[ RSS](/packages/adt-version-macro/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

Version macro
=============

[](#version-macro)

Returns file modification time, which can be used for versioning css/js files or other assets.

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

[](#installation)

The best way to install is using [Composer](http://getcomposer.org/):

```
$ composer require adt/version-macro
```

common.neon:

```
services:
	versionMacro: ADT\VersionMacro\VersionMacro

latte:
	macros:
		- @ADT\VersionMacro\VersionMacro::install

```

remote.neon:

```
services:
	versionMacro:
		setup:
			- setTimestampFile(%timestampFile%)

```

Without setting timestamp file, version macro returns empty string.

Usage
-----

[](#usage)

- **`{v}`** - results in `?v=123`
- **`{vn}`** - results in `123`

```

```

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 60.9% 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 ~273 days

Recently: every ~354 days

Total

10

Last Release

1553d ago

Major Versions

v1.0.1 → v2.02016-11-11

v2.0 → v3.02017-03-17

v3.1.1 → v4.02018-12-04

v4.2 → v5.02022-02-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/5575ff5b286a1982356d8ed7d8fc9f44385b44ef1108f34ac8c71b106d0c69ec?d=identicon)[michallohnisky](/maintainers/michallohnisky)

![](https://www.gravatar.com/avatar/b14b3ccdfe1f00a01596de650930f4dcb5de964af406a2cb7a9dafdf75decc6a?d=identicon)[appsdevteam](/maintainers/appsdevteam)

---

Top Contributors

[![thorewi](https://avatars.githubusercontent.com/u/605858?v=4)](https://github.com/thorewi "thorewi (14 commits)")[![michallohnisky](https://avatars.githubusercontent.com/u/4747059?v=4)](https://github.com/michallohnisky "michallohnisky (9 commits)")

---

Tags

nettelattemacrosADTblock-macros

### Embed Badge

![Health badge](/badges/adt-version-macro/health.svg)

```
[![Health](https://phpackages.com/badges/adt-version-macro/health.svg)](https://phpackages.com/packages/adt-version-macro)
```

###  Alternatives

[contributte/latte

Extra contrib to nette/latte

111.5M2](/packages/contributte-latte)[tomaj/nette-api

Nette api

36261.8k4](/packages/tomaj-nette-api)[nepada/form-renderer

Latte template based form renderer for Nette forms with full support for Bootstrap 3, 4 &amp; 5.

11251.0k](/packages/nepada-form-renderer)[pavlista/nette-palette

Palette support for Nette Framework and Latte template engine

1657.4k](/packages/pavlista-nette-palette)[ondrejbrejla/eciovni

Component for generating invoices using Nette Framework and mPDF library.

277.3k1](/packages/ondrejbrejla-eciovni)[kollarovic/thumbnail

Generating image thumbnails

1035.5k2](/packages/kollarovic-thumbnail)

PHPackages © 2026

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