NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4335 most downloaded on Packagist
Asset Management for PHP
Last release 23 days ago
15 Sep 2026
Ships unpredictably
gaps range from 8 days to 1.7 years
Most releases are documented
notes for 23 of 30 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
36 releases · first in 2012
Apply import validation consistently across the CSS and SCSS filters by @LukeTowers in #53
Full Changelog: v3.2.2...v3.2.3
Make CssImportFilter hashable so the asset cache can key it by @LukeTowers in #52
Full Changelog: v3.2.1...v3.2.2
One column per quarter.
CssImportFilter now implements HashableInterface, so it is hashed instead of serialized when AssetCache builds its cache key. Serializing the filter threw Serialization of 'Closure' is not allowed whenever an import validator had been set.
CssImportFilter change with this release, so those assets are rebuilt once on upgrade.Add optional import validator to CssImportFilter by @LukeTowers in #51
Full Changelog: v3.2.0...v3.2.1
CssImportFilter, letting consumers confine @import inlining to trusted paths, by @LukeTowers in https://github.com/assetic-php/assetic/pull/51ci: test on PHP 8.4 and 8.5 and update Node 20 actions by @austinderrick in #48
Full Changelog: v3.1.6...v3.2.0
fix: resolve PHP 8.4/8.5 deprecations in HttpAsset and BasePhpFormulaLoader by @austinderrick in #47
Full Changelog: v3.1.5...v3.1.6
HttpAsset and BasePhpFormulaLoader by @austinderrick in https://github.com/assetic-php/assetic/pull/47Allow access to the Reference name and the resolved asset by @dlundgren in #18
Full Changelog: v3.1.4...v3.1.5
AssetReference::getName() and AssetReference::getAsset(), exposing the reference name and the asset it resolves to, by @dlundgren in https://github.com/assetic-php/assetic/pull/18fix(asset): migrate from $http_response_header to http_get_last_response_headers() by @matteotrubini in #46
Full Changelog: v3.1.3...v3.1.4
HttpAsset now reads response headers via http_get_last_response_headers() instead of the $http_response_header local, which PHP 8.4 deprecates, by @matteotrubini in https://github.com/assetic-php/assetic/pull/46composer.jsonImprove PHP 8.4 support by @TomA-R in #45
Allow "symfony/deprecation-contracts": "^2.2.0|^3.0" by @10n in #43
Full Changelog: v3.1.1...v3.1.2
symfony/deprecation-contracts constraint to ^2.2.0|^3.0 by @10n in https://github.com/assetic-php/assetic/pull/43Conform codebase to PSR-12 code style guidelines
StylesheetFilter, these are instead minified to 4 characters.MockAsset asset has been switched to using contracts for typehints and return types.Full Changelog: v3.1.0...v3.1.1
Skipped tests for Google Closure Compiler REST API filter, it has been deprecated by Google
symfony/console v7Full Changelog: v3.0.2...v3.1.0
symfony/console v7The Assetic Twig Extension is now compatible with Twig version 3
Fixed issue with StylesheetMinifyFilter where a universal selector (*) could not immediately follow a comment.
*) could not immediately follow a comment.Assetic v3 is another refresh of the project in order to keep the core lean and up to date with modern standards. More deprecated / abandoned filters…
Assetic v3 is another refresh of the project in order to keep the core lean and up to date with modern standards. More deprecated / abandoned filters have been removed and replaced with modern maintained alternatives.
New filters are still recommended to be added in external packages and the core is to be kept as minimal as possible.
symfony/process: v6.xAssetic\Filter\JavaScriptMinifierFilterAssetic\Filter\CSSMinFilterAssetic\Filter\StylesheetMinfyFiltermrclay/minify, patchwork/jsqueeze, & natxet/CssMin packages in favour of wikimedia/minify.JSMinFilter (use JavaScriptMinifierFilter instead)JSMinPlusFilter (use JavaScriptMinifierFilter instead)JSqueezeFilter (use JavaScriptMinifierFilter instead)CssMinFilter (use CssImportFilter combined with the CSSMinFilter instead)
MinifyCssCompressorFilter (use replacement for CssMinFilter above or use StylesheetMinifyFilter instead)
Fix usage of deprecated behaviours and methods in SCSS PHP filter
Removed support for scss_compass, which was never actually finished in the first place
autoprefixer (autoprefixer cli is deprecated)
The project kriswallsmith/assetic is currently unmaintained, and has not been updated in 4 years. You can replace kriswallsmith/assetic by swapping it out for "assetic/framework": "~2.0.0" via composer.
This fork aims to bring Assetic up to date with modern libraries and allow for it to be used in conjunction with modern frameworks.
This update makes the project more opionated, removing duplicate filters in favour of purely PHP-based ones. New filters are to be added in external packages and the core is to be kept as minimal as possible.
As part of this update old, abandoned or redundant utilities have been removed. This is in part to simplify the offering of project as well as to migrate to a simplified tool set of php and javascript based utilities.
>=php 7.2symfony/process v3.4.x | v4.x | v5.xleafo/lessphp to wikimedia/less.php
setPreserveComments & registerFunction by the LessphpFilter.twig/twig support is optional now, twig/extensions must be required in your requirements if you need it.Assetic\Filter\UglifyJs2Filter for version 2 or UglifyJs3Filter for version 3 instead)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added --no-header option for Coffeescript
mrclay/minifysetVariables in the ScssPhpFilter--relative-assets option for the compass filterRemoved the deprecated PathUtils class
AssetFactory instance as second argument for WorkerInterface::process()LazyAssetManager from CacheBustingWorker constructorgetSourceDirectory() method was added on the AssetInterfacePathUtils classCssUtils::filterCommentless()DependencyExtractorInterface for filters to report other files they importregisterFunction and setFormatter to the scssphp filter{% embed %} in the Twig extractorNothing published for this version
Fixed deep mtime on asset collections
CallablesFilter now implements DependencyExtractorInterfaceSassFilterPathUtils for BCFixed cloning of asset collections
AssetWriter::getCombinations() for BC, even though we don't use it@import-once to Less filtersAdded LazyAssetManager::getLastModified() for determining "deep" mtime
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added pure php css embed filter
Asset variables allow you to pre-compile your assets for a finite set of known variable values, and then to simply deliver the correct asset version at runtime. For example, this is helpful for assets with language, or browser-specific code.
--bare for the CoffeeScriptFilterNothing published for this version
Fixed the Twig tag to avoid a fatal error when left unclosed
Added "boring" option to Compass filter
Your coding agent can read these notes before it upgrades. Set up the MCP server →