PHPackages                             daku/nette-webpack-manifest - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. daku/nette-webpack-manifest

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

daku/nette-webpack-manifest
===========================

Provides Latte functions for reading asset paths from Webpack manifest file.

05PHP

Since Nov 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/danielkurecka/nette-webpack-manifest)[ Packagist](https://packagist.org/packages/daku/nette-webpack-manifest)[ RSS](/packages/daku-nette-webpack-manifest/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Webpack Manifest Extension for Nette Framework
==============================================

[](#webpack-manifest-extension-for-nette-framework)

This is a simple extension designed to read Webpack assets from a manifest file generated by the [webpack-manifest-plugin](https://github.com/shellscape/webpack-manifest-plugin). It adds two functions, `getWebpackAsset()` and `hasWebpackAsset()` to Latte templates. This extension only reads values from the manifest file, so you should ensure that the proper path is generated in the manifest file. When debug mode is enabled, assets are always read from the manifest file. When debug mode is disabled, assets are cached in the DI container.

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

[](#installation)

```
composer require daku/nette-webpack-manifest
```

Usage
-----

[](#usage)

To use this extension, register it and provide the path to the manifest file in your Neon configuration file:

```
extensions:
	webpackManifest: Daku\Nette\Webpack\WebpackManifestExtension('%wwwDir%/static/webpack/manifest.json')
```

You can then use the `getWebpackAsset()` function to retrieve the asset path. If the asset is not found, an exception is thrown. You can also check for the existence of an asset using the `hasWebpackAsset()` function:

```

```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- Nette &gt;= 3

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![danielkurecka](https://avatars.githubusercontent.com/u/1924013?v=4)](https://github.com/danielkurecka "danielkurecka (2 commits)")

### Embed Badge

![Health badge](/badges/daku-nette-webpack-manifest/health.svg)

```
[![Health](https://phpackages.com/badges/daku-nette-webpack-manifest/health.svg)](https://phpackages.com/packages/daku-nette-webpack-manifest)
```

###  Alternatives

[humanmade/hm-redirects

Simple plugin for handling WordPress redirects in a scalable manner.

29229.9k2](/packages/humanmade-hm-redirects)

PHPackages © 2026

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