An improved version of markstory/mini-asset. An asset compression library. Provides file concatenation and a flexible filter system for preprocessing and minification.

1.0.4 2016-01-28 15:40 UTC


Software License Packagist Packagist

Mini Asset Improved is a small footprint library that provide tools to assist in building an asset minification/optimization pipeline. It uses a simple INI based configuration file that lets you define output files, that are comprised of a number of input files. Input files can be processed by filters on a per-extension or per file basis. Filters allow you to integrate existing pre-processors and minifiers or build your own.

Original Features

Please check markstory/mini-asset for original feature set.

Improved Features

  • Fixed globbing path issue, fixed ScssFilter getDependencies issue. (Supports sass-globbing gem)
  • Added PostCSS filter.
  • Added allowDebugMode option for filters to allow some output filters run in debug mode.
  • Filter options are merged instead of overriding in asset_compress.local.ini.
  • Fixed several issues relating to path expansion.
  • Allow underscored and non-underscored version of filenames in @import, in ScssFilter::getDependencies method.


Add this library to your application with composer, after that you can start integrating MiniAsset into your application and use the provided CLI tools to generate asset targets:

composer require 'clthck/mini-asset-improved'


php composer.phar require 'clthck/mini-asset-improved'

Framework Integrations


Please report any issues you have with the plugin to the issue tracker on github.


Mini Asset Improved is offered under an MIT license.


See the github contributors list.


See CHANGELOG for changes only available on master. See github releases for changelogs on previous releases.