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.
- Support for
>=php 7.2 - Support for
symfony/processv3.4.x|v4.x|v5.x
- Minimum PHP version required is now PHP 7.2
- Switching from
leafo/lessphptowikimedia/less.php- Due to this switch support has been dropped for
setPreserveComments®isterFunctionby theLessphpFilter.
- Due to this switch support has been dropped for
twig/twigsupport is optional now,twig/extensionsmust be required in your requirements if you need it.
- apc cache (apc is no longer supported in php7.2)
- autoprefixer (autoprefixer cli is deprecated)
- cleancss (code is incompatible with the current API)
- CssEmbed
- Compass
- Dart
- ember precompile (the npm package no longer compiles)
- Gemfile (Ruby is no longer in use in the project)
- GSS
- Packager (throws deprecation notices in php7.4)
- pngout (npm package is abandoned)
- Roole (Roole was a language that compiles to CSS, the project is now dead and has been for at least 6 years, use LESS \ SCSS instead)
- SassFilter/ScssFilter/SassphpFilter (replaced by ScssphpFilter)
- Sprockets (Assetic no longer integrates with Ruby packages)
- UglifyJS version 1 (No longer supported. Use the
Assetic\Filter\UglifyJs2Filterfor version 2 orUglifyJs3Filterfor version 3 instead) - Yui compressors