PHPackages                             spaze/sri-macros - 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. [Templating &amp; Views](/categories/templating)
4. /
5. spaze/sri-macros

ActiveLibrary[Templating &amp; Views](/categories/templating)

spaze/sri-macros
================

Subresource Integrity macros for Latte template engine

v2.4.0(5mo ago)484[1 issues](https://github.com/spaze/sri-macros/issues)MITPHPPHP ^8.4CI passing

Since Sep 24Pushed 5mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (8)Versions (18)Used By (0)

sri-macros
==========

[](#sri-macros)

Subresource Integrity macros for Latte template engine

[![PHP Tests](https://github.com/spaze/sri-macros/actions/workflows/php.yml/badge.svg)](https://github.com/spaze/sri-macros/actions/workflows/php.yml)

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance65

Regular maintenance activity

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.1% 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 ~163 days

Recently: every ~200 days

Total

17

Last Release

168d ago

Major Versions

v0.3.3 → v1.0.02022-06-04

v1.0.1 → v2.0.02022-10-03

PHP version history (5 changes)v0.1.0PHP ~7.0

v0.3.0PHP ~7.1

v0.3.2PHP ^7.1 || ^8.0

v1.0.0PHP ^8.1

v2.3.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/6777bd445610e6e458e4d41bdefa3070d2ed4e068323362353b061b15e9ff81b?d=identicon)[spaze](/maintainers/spaze)

---

Top Contributors

[![spaze](https://avatars.githubusercontent.com/u/1966648?v=4)](https://github.com/spaze "spaze (152 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spaze-sri-macros/health.svg)

```
[![Health](https://phpackages.com/badges/spaze-sri-macros/health.svg)](https://phpackages.com/packages/spaze-sri-macros)
```

###  Alternatives

[twigstan/twigstan

TwigStan is a static analyzer for Twig templates powered by PHPStan

27412.1k](/packages/twigstan-twigstan)[contributte/latte

Extra contrib to nette/latte

111.5M2](/packages/contributte-latte)[webrouse/n-asset-macro

Asset macro for Latte and Nette Framework useful for assets cache busting (with gulp, webpack, etc.)

1264.4k1](/packages/webrouse-n-asset-macro)[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)[nextras/forms-rendering

Rendering helpers for Nette Framework Forms.

1698.4k2](/packages/nextras-forms-rendering)

PHPackages © 2026

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