PHPackages                             slamecka/timestamp - 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. slamecka/timestamp

ActiveLibrary

slamecka/timestamp
==================

Adds n:src and n:href macros which append timestamp as a parameter to path (e.g. main.js?512a45c4)

5602PHP

Since Feb 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/OndrejSlamecka/TimestampMacro)[ Packagist](https://packagist.org/packages/slamecka/timestamp)[ RSS](/packages/slamecka-timestamp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Adds macros `n:src` and `n:href`

```

```

to produce code similar to

```

```

where `512a45c4` is timestamp which automatically changes when you modify the file (it is filesystem's mtime).

Please note that you don't have to &amp; can't use `{$basePath}` with these macros because every path is constructed as `$basePath . '/' . $fileName`.

Install
=======

[](#install)

```
$ composer require slamecka/timestamp:dev-master

```

In your config.neon

```
nette:
	latte:
		macros:
			- TimestampMacro

```

---

MIT license

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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/f41e9f5a46ea149b38f8e00ef740fd91ab81f6f8432667735506000ed25448ff?d=identicon)[Slamecka](/maintainers/Slamecka)

---

Top Contributors

[![OndrejSlamecka](https://avatars.githubusercontent.com/u/184064?v=4)](https://github.com/OndrejSlamecka "OndrejSlamecka (12 commits)")[![newPOPE](https://avatars.githubusercontent.com/u/484382?v=4)](https://github.com/newPOPE "newPOPE (1 commits)")

### Embed Badge

![Health badge](/badges/slamecka-timestamp/health.svg)

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

PHPackages © 2026

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