PHPackages                             crypto\_scythe/bundledassets - 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. crypto\_scythe/bundledassets

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

crypto\_scythe/bundledassets
============================

A Laminas view helper for adding JavaScript and CSS assets created by bundlers

1.0.3(4y ago)07MITPHPPHP ^7.4|~8.0

Since Aug 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/crypto-scythe/bundledassets)[ Packagist](https://packagist.org/packages/crypto_scythe/bundledassets)[ RSS](/packages/crypto-scythe-bundledassets/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

crypto\_scythe/bundledassets
============================

[](#crypto_scythebundledassets)

[![MIT License](https://camo.githubusercontent.com/7c124530b7c185c6928998842a1a52ed4bfd21071bf67db8f325f470cc3160a3/68747470733a2f2f696d672e736869656c64732e696f2f61706d2f6c2f61746f6d69632d64657369676e2d75692e7376673f)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)[![Run unit tests](https://github.com/crypto-scythe/bundledassets/actions/workflows/run-unit-tests.yaml/badge.svg?branch=master)](https://github.com/crypto-scythe/bundledassets/actions/workflows/run-unit-tests.yaml)

A Laminas view helper for adding JavaScript and CSS assets created by bundlers.

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

[](#installation)

### Composer

[](#composer)

```
composer require crypto_scythe/bundledassets
```

### Manual

[](#manual)

You can download the [latest release zip file](https://github.com/crypto-scythe/bundledassets/releases/latest)and unpack it into a own module folder. Please make sure to install the dependencies outlined in the composer.json for it to work correctly.

Usage/Examples
--------------

[](#usageexamples)

### Laminas MVC

[](#laminas-mvc)

```
# Add module class to Modules configuration
CryptoScythe\BundledAssets\Module::class,
```

### Laminas Mezzio

[](#laminas-mezzio)

```
# Add config provider class to configuration
CryptoScythe\BundledAssets\ConfigProvider::class,
```

### Configuration

[](#configuration)

```
# global.php
use CryptoScythe\BundledAssets\ConfigProvider as BundledAssetsConfigProvider;

BundledAssetsConfigProvider::GLOBAL_CONFIG_KEY_VIEW_HELPER_CONFIG => [
    BundledAssetsConfigProvider::class => [
        BundledAssetsConfigProvider::CONFIG_KEY_CACHE_PATH => 'data/bundled_assets_cache.php', # Path to cache file, mostly production
            BundledAssetsConfigProvider::CONFIG_KEY_MANIFESTS => [ # Hash map of manifest files
                BundledAssetsConfigProvider::CONFIG_KEY_DEFAULT_MANIFEST => 'data/webpack-assets.json',
                'other_manifest' => 'data/other-assets.json', # [optional] You can use multiple asset manifests
        ],
    ],
],
```

### Usage in layout

[](#usage-in-layout)

```
$this->bundledAssets('entry_point'); # Uses assets from default
$this->bundledAssets('some_other_entry_point', 'other_manifest'); # Uses additionally defined manifest
```

FAQ
---

[](#faq)

### What is a manifest file?

[](#what-is-a-manifest-file)

A manifest file contains a list of the bundled assets, for example the output of [assets-webpack-plugin](https://www.npmjs.com/package/assets-webpack-plugin).

It looks something like this:

```
{
    "main": {
        "js": [
            "some_js_asset.12345.js",
            "some_other_js_asset.54321.js"
        ],
        "css": [
            "some_css_asset.12345.css",
            "another_css_asset.abcdef.css"
        ],
    },
    "another": {
        # even more of the same
    }
}
```

Author
------

[](#author)

- Chris Fasel [@crypto-scythe](https://www.github.com/crypto-scythe)

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~10 days

Total

4

Last Release

1707d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a93df05505552ed0d6d26f8abe11f0ce95ed47992b9c0766ff5b76407a40b5f?d=identicon)[crypto\_scythe](/maintainers/crypto_scythe)

---

Top Contributors

[![crypto-scythe](https://avatars.githubusercontent.com/u/908195?v=4)](https://github.com/crypto-scythe "crypto-scythe (10 commits)")

---

Tags

laminashelpermvcmezzioassetsbundler

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/crypto-scythe-bundledassets/health.svg)

```
[![Health](https://phpackages.com/badges/crypto-scythe-bundledassets/health.svg)](https://phpackages.com/packages/crypto-scythe-bundledassets)
```

###  Alternatives

[neilime/twbs-helper-module

Laminas (formerly Zend Framework) module for easy integration of Twitter Bootstrap

2198.7k](/packages/neilime-twbs-helper-module)

PHPackages © 2026

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