Classes

Audio asset.

Entry point asset implementation that can represent both script and style entry points.

Maps asset references to files within a specified local directory.

Font asset.

Generic asset for any general file type.

Static helper class providing utility functions for working with assets.

Image asset.

Lazy-loading of properties as a workaround for PHP < 8.4.

Manages a collection of named asset Mappers and provides a central point for retrieving Assets using qualified references (mapper:reference).

Script asset.

Style asset.

Video asset.

Maps asset references to Vite-generated files using a Vite manifest.json.

Interfaces

Base asset interface with minimal API.

Interface for assets that can be rendered as HTML elements.

Defines the contract for resolving asset references to Asset objects.

Exceptions

Asset cannot be found by a mapper.