PHPackages                             apility/webpack-assets - 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. apility/webpack-assets

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

apility/webpack-assets
======================

A helper class for reading the manifest generated by webpack-assets-manifest, and output relevant link and script tags.

v1.0.3(4y ago)01.7k1MITPHP

Since Nov 12Pushed 4y agoCompare

[ Source](https://github.com/apility/webpack-assets)[ Packagist](https://packagist.org/packages/apility/webpack-assets)[ RSS](/packages/apility-webpack-assets/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

WebpackAssets
=============

[](#webpackassets)

WebpackAssets is a helper class for reading the manifest generated by [webpack-assets-manifest](https://www.npmjs.com/package/webpack-assets-manifest), and output relevant link and script tags.

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

[](#installation)

Use the package manager [Composer](https://getcomposer.org/) to install WebpackAssets.

```
composer require apility/webpack-assets
```

Usage
-----

[](#usage)

```

```

Options
-------

[](#options)

### $manifest

[](#manifest)

The `$manifest` argument can be one of the following:

- An absolute path to generated manifest file. Must start with / to be treated as a file path.
- The manifest string.
- A deserialized array of object of the manifest file.

### $options

[](#options-1)

The `$options` argument is an assoicative array on an object with the following keys:

- `entrypointName`: The default entrypoint to get from the manifest when none is specified in `getHeadAssets` or `getBodyAssets` calls.
    Default: `'app'`
- `preload`: Whether add preload links for style and scripts in head.
    Default: `true`
- `integrity`: Whether integrity should be read from the manifest, and added to the output.
    Default: `false`
- `basePath`: Adds basePath segment to prepend asset urls with. Note: basePath won't be applied to hmr urls, because it only applies to assets whose url start with `/`. Default: `null`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 88.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 ~254 days

Total

4

Last Release

1615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93300f1d57e4f198d035a680f1de6a8635becc12052acbe74a08f578b124863b?d=identicon)[cathrinevaage](/maintainers/cathrinevaage)

---

Top Contributors

[![cathrinevaage](https://avatars.githubusercontent.com/u/8112742?v=4)](https://github.com/cathrinevaage "cathrinevaage (8 commits)")[![thomas-alrek](https://avatars.githubusercontent.com/u/14291825?v=4)](https://github.com/thomas-alrek "thomas-alrek (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/apility-webpack-assets/health.svg)

```
[![Health](https://phpackages.com/badges/apility-webpack-assets/health.svg)](https://phpackages.com/packages/apility-webpack-assets)
```

###  Alternatives

[jofrysutanto/windsor

YAML-ised Configuration for ACF

549.2k](/packages/jofrysutanto-windsor)[jshannon63/jsoncollect

Supercharge your JSON using collections

154.9k1](/packages/jshannon63-jsoncollect)

PHPackages © 2026

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