PHP Libraries › symfony › asset-mapper Asset Mapper is a PHP library designed for mapping and managing assets efficiently in Symfony projects.
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.
Classes: Symfony\Component\AssetMapper\CompiledAssetMapperConfigReader Symfony\Component\AssetMapper\AssetMapperRepository Symfony\Component\AssetMapper\AssetMapper Symfony\Component\AssetMapper\ImportMap\JavaScriptImport Symfony\Component\AssetMapper\ImportMap\ImportMapGenerator Symfony\Component\AssetMapper\ImportMap\ImportMapEntry Symfony\Component\AssetMapper\ImportMap\PackageRequireOptions Symfony\Component\AssetMapper\ImportMap\ImportMapEntries Symfony\Component\AssetMapper\ImportMap\PackageVersionProblem Symfony\Component\AssetMapper\ImportMap\PackageUpdateInfo Symfony\Component\AssetMapper\ImportMap\Resolver\PackageResolverInterface Symfony\Component\AssetMapper\ImportMap\Resolver\JsDelivrEsmResolver Symfony\Component\AssetMapper\ImportMap\Resolver\ResolvedImportMapPackage Symfony\Component\AssetMapper\ImportMap\ImportMapPackageAudit Symfony\Component\AssetMapper\ImportMap\RemotePackageStorage Symfony\Component\AssetMapper\ImportMap\ImportMapVersionChecker Symfony\Component\AssetMapper\ImportMap\ImportMapManager Symfony\Component\AssetMapper\ImportMap\RemotePackageDownloader Symfony\Component\AssetMapper\ImportMap\ImportMapRenderer Symfony\Component\AssetMapper\ImportMap\ImportMapConfigReader Symfony\Component\AssetMapper\ImportMap\ImportMapAuditor Symfony\Component\AssetMapper\ImportMap\ImportMapPackageAuditVulnerability Symfony\Component\AssetMapper\ImportMap\ImportMapUpdateChecker Symfony\Component\AssetMapper\AssetMapperInterface Symfony\Component\AssetMapper\MappedAsset Symfony\Component\AssetMapper\Path\PublicAssetsPathResolver Symfony\Component\AssetMapper\Path\PublicAssetsFilesystemInterface Symfony\Component\AssetMapper\Path\PublicAssetsPathResolverInterface Symfony\Component\AssetMapper\Path\LocalPublicAssetsFilesystem Symfony\Component\AssetMapper\AssetMapperCompiler Symfony\Component\AssetMapper\Factory\CachedMappedAssetFactory Symfony\Component\AssetMapper\Factory\MappedAssetFactoryInterface Symfony\Component\AssetMapper\Factory\MappedAssetFactory Symfony\Component\AssetMapper\Compressor\ZopfliCompressor Symfony\Component\AssetMapper\Compressor\SupportedCompressorInterface Symfony\Component\AssetMapper\Compressor\CompressorInterface Symfony\Component\AssetMapper\Compressor\BrotliCompressor Symfony\Component\AssetMapper\Compressor\CompressorTrait Symfony\Component\AssetMapper\Compressor\ChainCompressor Symfony\Component\AssetMapper\Compressor\GzipCompressor Symfony\Component\AssetMapper\Compressor\ZstandardCompressor Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber Symfony\Component\AssetMapper\Compiler\Parser\JavascriptSequenceParser Symfony\Component\AssetMapper\Compiler\AssetCompilerInterface Symfony\Component\AssetMapper\Compiler\JavaScriptImportPathCompiler Symfony\Component\AssetMapper\Compiler\SourceMappingUrlsCompiler Symfony\Component\AssetMapper\Compiler\CssAssetUrlCompiler Symfony\Component\AssetMapper\Event\PreAssetsCompileEvent Symfony\Component\AssetMapper\Exception\CircularAssetsException Symfony\Component\AssetMapper\Exception\LogicException Symfony\Component\AssetMapper\Exception\ExceptionInterface Symfony\Component\AssetMapper\Exception\RuntimeException Symfony\Component\AssetMapper\MapperAwareAssetPackage Symfony\Component\AssetMapper\Command\ImportMapRemoveCommand Symfony\Component\AssetMapper\Command\ImportMapUpdateCommand Symfony\Component\AssetMapper\Command\VersionProblemCommandTrait Symfony\Component\AssetMapper\Command\ImportMapAuditCommand Symfony\Component\AssetMapper\Command\ImportMapInstallCommand Symfony\Component\AssetMapper\Command\ImportMapRequireCommand Symfony\Component\AssetMapper\Command\DebugAssetMapperCommand Symfony\Component\AssetMapper\Command\CompressAssetsCommand Symfony\Component\AssetMapper\Command\AssetMapperCompileCommand Symfony\Component\AssetMapper\Command\ImportMapOutdatedCommand Close 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);
?>
Report a broken download or code 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.