Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.
https://github.com/markstory/asset_compress

asset-pipeline cakephp cakephp-plugin php

Last synced: 3 months ago
JSON representation

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

Lists

README

        

# Asset Compress

[![Build Status](https://travis-ci.org/markstory/asset_compress.svg?branch=master)](https://travis-ci.org/markstory/asset_compress)
[![codecov.io](https://codecov.io/github/markstory/asset_compress/coverage.svg?branch=master)](https://codecov.io/github/markstory/asset_compress?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/markstory/asset_compress.svg?style=flat-square)](https://packagist.org/packages/markstory/asset_compress)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)

Asset Compress is CakePHP plugin for helping reduce the number of requests, and optimizing the remaining requests your application makes for Javascript and CSS files.

### Features

* Development mode builder that rebuilds assets on each request.
* Command line build tool to compile static assets for deployment.
* Built-in support for LESScss, Sass and CoffeeScript, as well as several
minifiers.
* Powerful and flexible filter system allowing you to add your own
minifiers/pre-processors.
* Simple configuration file.
* Incremental builds that don't recompile assets when they don't need to
be.

## Installing

Add this plugin to your application with composer:

php composer.phar require markstory/asset_compress

Then make sure you load the plugin:

// in src/Application.php
// in the bootstrap() method add
$this->addPlugin('AssetCompress');

Copy the `config/asset_compress.sample.ini` from the plugin to your app's
`config/asset_compress.ini`. From there read the [wiki](http://github.com/markstory/asset_compress/wiki)
for more information.

## Documentation

Documentation for AssetCompress is available on the [github wiki pages](http://github.com/markstory/asset_compress/wiki)

## Issues

Please report any issues you have with the plugin to the [issue tracker](http://github.com/markstory/asset_compress/issues) on github.

## License

Asset Compress is offered under an [MIT license](http://www.opensource.org/licenses/mit-license.php).

### Authors

See the [github contributors list](https://github.com/markstory/asset_compress/graphs/contributors)

### Changelog

See CHANGELOG for changes only available on `master`. See
[github releases](https://github.com/markstory/asset_compress/releases) for changelogs on previous releases.