Extension for Yii 2 provide https://github.com/mrclay/minify