Base asset interface with minimal API.

Asset cannot be found by a mapper.

Audio asset.

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.

Defines the contract for resolving asset references to Asset objects.

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.

Latte extension that provides asset-related functions:

  • asset(): returns asset URL or throws AssetNotFoundException if asset not found
  • tryAsset(): returns asset URL or null if asset not found

Dependency injection extension that integrates asset management into Nette application.