PHPackages                             nuxed/asset - 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. nuxed/asset

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

nuxed/asset
===========

Nuxed Asset

v2.0.0(5y ago)130MITHack

Since Nov 19Pushed 5y ago2 watchersCompare

[ Source](https://github.com/nuxed/asset)[ Packagist](https://packagist.org/packages/nuxed/asset)[ RSS](/packages/nuxed-asset/feed)WikiDiscussions develop Synced 6d ago

READMEChangelog (5)Dependencies (11)Versions (7)Used By (0)

[![](https://avatars3.githubusercontent.com/u/45311177?s=200&v=4)](https://avatars3.githubusercontent.com/u/45311177?s=200&v=4)

[![Coding standards status](https://github.com/nuxed/asset/workflows/coding%20standards/badge.svg?branch=develop)](https://github.com/nuxed/asset/workflows/coding%20standards/badge.svg?branch=develop)[![Static analysis status](https://github.com/nuxed/asset/workflows/static%20analysis/badge.svg?branch=develop)](https://github.com/nuxed/asset/workflows/static%20analysis/badge.svg?branch=develop)[![Unit tests status](https://github.com/nuxed/asset/workflows/unit%20tests/badge.svg?branch=develop)](https://github.com/nuxed/asset/workflows/unit%20tests/badge.svg?branch=develop)[![Total Downloads](https://camo.githubusercontent.com/616b92cd6d56979348de0c4cd3347e8c14fa15993b70838ffd8a114f2279590d/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f61737365742f642f746f74616c2e737667)](https://packagist.org/packages/nuxed/asset)[![Latest Stable Version](https://camo.githubusercontent.com/a8fe64e57ff5b10472776ddd76c58aa78895898a721755d01128cfe512022625/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f61737365742f762f737461626c652e737667)](https://packagist.org/packages/nuxed/asset)[![License](https://camo.githubusercontent.com/90c4be456ac9865dae0301a7d6ef39d8c999ff1a867dc92927deda5864187e50/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f61737365742f6c6963656e73652e737667)](https://packagist.org/packages/nuxed/asset)

Nuxed Asset
===========

[](#nuxed-asset)

The Nuxed Asset component manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image files.

### Installation

[](#installation)

This package can be installed with [Composer](https://getcomposer.org).

```
$ composer require nuxed/asset
```

### Example

[](#example)

```
use namespace Nuxed\Asset;
use namespace Nuxed\Asset\VersionStrategy;

async function main(): Awaitable {
  // For example, the manifest file might look like this:
  // {
  //   "main.js": "main.abc123.js",
  //   "css/styles.css": "css/styles.555abc.css"
  // }
  $versionStrategy = new VersionStrategy\JsonManifestVersionStrategy('/path/to/manifest.json');

  $cdns = vec[
    'https://asset-s1.example.com/',
    'https://asset-s2.example.com/',
  ];

  $package = new Asset\UrlPackage($cdns, $versionStrategy);

  // https://asset-s2.example.com/css/styles.555abc.css
  echo await $package->getUrl('css/styles.css');
}
```

---

### Security

[](#security)

For information on reporting security vulnerabilities in Nuxed, see [SECURITY.md](SECURITY.md).

---

### License

[](#license)

Nuxed is open-sourced software licensed under the MIT-licensed.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~92 days

Total

5

Last Release

2003d ago

Major Versions

v1.2.0 → v2.0.02020-11-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (11 commits)")[![lexidor](https://avatars.githubusercontent.com/u/31805625?v=4)](https://github.com/lexidor "lexidor (1 commits)")

---

Tags

assetassetscssfrontendhackhack-langhhvmjavascriptnuxed

### Embed Badge

![Health badge](/badges/nuxed-asset/health.svg)

```
[![Health](https://phpackages.com/badges/nuxed-asset/health.svg)](https://phpackages.com/packages/nuxed-asset)
```

###  Alternatives

[hhvm/hsl

The Hack Standard Library

1151.1M55](/packages/hhvm-hsl)

PHPackages © 2026

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