PHPackages                             rcm/expressive-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. rcm/expressive-assets

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

rcm/expressive-assets
=====================

Simple asset loading

0.2.0(8y ago)07842BSD-3-ClausePHPPHP ^5.5 || ^7.0

Since Nov 28Pushed 8y ago3 watchersCompare

[ Source](https://github.com/reliv/expressive-assets)[ Packagist](https://packagist.org/packages/rcm/expressive-assets)[ Docs](https://github.com/reliv/expressive-assets)[ RSS](/packages/rcm-expressive-assets/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

THIS HAS BEEN DEPRICATED IN FAVOR OF .
=============================================================================

[](#this-has-been-depricated-in-favor-of-httpsgithubcomrelivserve-static)

Simple asset loading using Zend Expressive middleware

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

[](#configuration)

```
'routes' => [
    // Asset route name MUST be used as the key
    'expressive-assets.public' => [
        // YOUR ROUTE NAME
        'name' => 'expressive-assets.public',
        // Path MUST contain fileName route param
        'path' => '/expressive-assets/{fileName:.*}',
        'middleware' => \ExpressiveAssets\AssetController::class,
        'options' => [],
        'allowed_methods' => ['GET'],
        /* expressive asset config */
        'expressive-asset' => [
            // Directory where assets are publicly available
            'directory' => __DIR__ . '/../public',
            // File extension to response headers,
            // If headers value is not supplied
            // then \ExpressiveAssets\CommonHeaders will be used
            'headers' => [
                'css' => [
                    'content-type' => 'text/css'
                ],
                'html' => [
                    'content-type' => 'text/html'
                ],
                'js' => [
                    'content-type' => 'application/javascript'
                ],
            ]
        ]
    ],
],

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~53 days

Total

5

Last Release

3241d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d89ed9b1fb36217e63fbabed855b75ccbca9a740b8662ed44aa982d5d7c98f7?d=identicon)[reliv](/maintainers/reliv)

---

Top Contributors

[![rodmcnew](https://avatars.githubusercontent.com/u/1828506?v=4)](https://github.com/rodmcnew "rodmcnew (5 commits)")[![jerv13](https://avatars.githubusercontent.com/u/853222?v=4)](https://github.com/jerv13 "jerv13 (2 commits)")

---

Tags

zendmoduleexpressivereliv

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rcm-expressive-assets/health.svg)

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

###  Alternatives

[nikolaposa/zf-disqus

ZF module which facilitates integration of Disqus widgets

1210.7k](/packages/nikolaposa-zf-disqus)

PHPackages © 2026

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