PHP Package: symfony/asset-mapper

Asset Mapper is a PHP library designed for mapping and managing assets efficiently in Symfony projects.

Current Version: 7.3.0
Last Updated: 2025-05-29
PHP Requirement: >=8.2
Dependencies:
symfony/framework-bundle
symfony/dependency-injection
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Asset Mapper is a comprehensive PHP library that simplifies the management of assets such as CSS, JS, and images in Symfony applications. It provides robust mapping capabilities and streamlines asset handling, enhancing the overall performance and organization of your project. With Asset Mapper, you can seamlessly integrate and optimize your assets for improved SEO and user experience.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 7.3.0

Download Download v7.3.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/symfony/asset-mapper/7.3.0/loader.php';
require_once 'libs/symfony/framework-bundle/7.3.0/loader.php';
require_once 'libs/symfony/dependency-injection/7.3.0/loader.php';

use Symfony\AssetMapper\AssetMapper;
use Symfony\AssetMapper\AssetLoader;

$obj = new AssetMapper();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.