PHPackages                             cloudstek/grav-plugin-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. cloudstek/grav-plugin-webpack-manifest

ActiveGrav-plugin[Utility &amp; Helpers](/categories/utility)

cloudstek/grav-plugin-webpack-manifest
======================================

Grav plugin to use assets from a webpack manifest file.

v1.0.1(6y ago)362[1 PRs](https://github.com/Cloudstek/grav-plugin-webpack-manifest/pulls)MITPHPPHP &gt;=7.1.3

Since Apr 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Cloudstek/grav-plugin-webpack-manifest)[ Packagist](https://packagist.org/packages/cloudstek/grav-plugin-webpack-manifest)[ Docs](https://github.com/Cloudstek/grav-plugin-webpack-manifest)[ RSS](/packages/cloudstek-grav-plugin-webpack-manifest/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Webpack Manifest Plugin
=======================

[](#webpack-manifest-plugin)

The **Webpack Manifest** Plugin is an extension for [Grav CMS](http://github.com/getgrav/grav). It allows you to develop themes that use for example Webpack that generate versioned assets (css/js).

As these generated files have a unique name every time they are generated, you can't reference them in your template directly. Webpack outputs a manifest file which contains a mapping between the unversioned filename and versioned filename, which is used by this plugin to replace assets with the correct file.

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

[](#installation)

Installing the Webpack Manifest plugin can be done in one of three ways: The GPM (Grav Package Manager) installation method lets you quickly install the plugin with a simple terminal command, the manual method lets you do so via a zip file, and the admin method lets you do so via the Admin Plugin.

### GPM Installation (Preferred)

[](#gpm-installation-preferred)

To install the plugin via the [GPM](http://learn.getgrav.org/advanced/grav-gpm), through your system's terminal (also called the command line), navigate to the root of your Grav-installation, and enter:

```
bin/gpm install webpack-manifest

```

This will install the Webpack Manifest plugin into your `/user/plugins`-directory within Grav. Its files can be found under `/your/site/grav/user/plugins/webpack-manifest`.

### Manual Installation

[](#manual-installation)

To install the plugin manually, download the zip-version of this repository and unzip it under `/your/site/grav/user/plugins`. Then rename the folder to `webpack-manifest`. You can find these files on [GitHub](https://github.com/cloudstek/grav-plugin-webpack-manifest) or via [GetGrav.org](http://getgrav.org/downloads/plugins#extras).

You should now have all the plugin files under

```
/your/site/grav/user/plugins/webpack-manifest

```

> NOTE: This plugin is a modular component for Grav which may require other plugins to operate, please see its [blueprints.yaml-file on GitHub](https://github.com/cloudstek/grav-plugin-webpack-manifest/blob/master/blueprints.yaml).

### Admin Plugin

[](#admin-plugin)

If you use the Admin Plugin, you can install the plugin directly by browsing the `Plugins`-menu and clicking on the `Add` button.

Configuration
-------------

[](#configuration)

Before configuring this plugin, you should copy the `user/plugins/webpack-manifest/webpack-manifest.yaml` to `user/config/plugins/webpack-manifest.yaml` and only edit that copy.

Here is the default configuration and an explanation of available options:

```
# Enable/disable the plugin
enabled: true
# Path to manifest.json relative to your active theme
# For webpack use manifest.json. For Laravel Mix use mix-manifest.json.
filepath: manifest.json
```

Note that if you use the Admin Plugin, a file with your configuration named webpack-manifest.yaml will be saved in the `user/config/plugins/`-folder once the configuration is saved in the Admin.

Usage
-----

[](#usage)

Usage is simple as in most cases you can directly replace `{% do asset.css( ...` with `{% do manifest.css( ...`, the API is mostly the same and serves as a wrapper around some of the asset manager functionality, see .

Supported: **add()**, **addCss()**, **addJs()**

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

2

Last Release

2205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23e10b480322cc8b974864e6178fde94149b8c8ca99a3e1d318f9e7463be5452?d=identicon)[cloudstek](/maintainers/cloudstek)

---

Tags

plugin

### Embed Badge

![Health badge](/badges/cloudstek-grav-plugin-webpack-manifest/health.svg)

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

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[daixianceng/yii2-smser

Yii2 SMS extension

862.9k1](/packages/daixianceng-yii2-smser)[coldtrick/profile_manager

Improved management of user and group profile fields

293.7k1](/packages/coldtrick-profile-manager)[coldtrick/widget_manager

Manage your widgets

214.3k](/packages/coldtrick-widget-manager)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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