FindSoftware

Symfony AssetMapper

Symfony component that maps asset directories to versioned public files and loads JavaScript through browser importmaps, without a bundler.

Symfony AssetMapper is the component that the Symfony framework uses to serve application assets without a bundler. It maps directories, such as assets/, to public paths and gives each file a version hash in its name. JavaScript modules load through a browser importmap, so one module can import another or a third-party package without a build step, and a Twig call renders the map into the page.

The component is installed with Composer. In development, the Symfony application returns the versioned URLs itself. Before deployment, the asset-map:compile command writes the final files into public/assets, where the web server serves them directly.

Worth knowing

The component does not minify assets. The project points to separate bundles for Sass, TypeScript, Tailwind CSS and minification, and to a dedicated bundle for linting.

Identity

Status
Active
Maintainer
Fabien Potencier4
Maintained by
Individual4
First release
20238

Rendering and deploy

Runs as
Static files3
Install with
composer require symfony/asset-mapper symfony/asset symfony/twig-pack3

Releases

Current major version
88
Last release
2026-10-148

Adoption

GitHub stars
1732
Packagist downloads
12,580,8667
Contributors
539
Packagist downloads a month
1,357,7267
Dependent repositories
2310
Dependent packages
3210

Why these figures do not compare

Sources

  1. 2026-10-28: links, Built on
    symfony.com/asset-mapper
  2. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/symfony/asset-mapper
  3. 2026-10-28: links, Install with, Runs as
    symfony.com/doc/current/frontend/asset_mapper.html
  4. 2026-10-28: Maintainer, Maintained by, License model
    raw.githubusercontent.com/symfony/asset-mapper/8.2/LICENSE
  5. 2026-10-28: Runtime, Minimum runtime
    raw.githubusercontent.com/symfony/asset-mapper/v8.1.9/composer.json
  6. 2026-10-28: Categories
    raw.githubusercontent.com/symfony/asset-mapper/8.2/README.md
  7. 2026-10-28: License, Packagist downloads, Packagist downloads a month
    packagist.org/packages/symfony/asset-mapper.json
  8. 2026-10-28: First release, Current major version, Last release
    api.github.com/repos/symfony/asset-mapper/releases
  9. 2026-10-28: Contributors
    api.github.com/repos/symfony/asset-mapper/contributors
  10. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Fasset-mapper

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON